We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a2004c commit 3ea2187Copy full SHA for 3ea2187
twitch/twitch.go
@@ -0,0 +1,19 @@
1
+// Copyright 2017 The Go Authors. All rights reserved.
2
+// Use of this source code is governed by a BSD-style
3
+// license that can be found in the LICENSE file.
4
+
5
+// Package twitch provides constants for using OAuth2 to access Twitch.
6
+package twitch // import "golang.org/x/oauth2/twitch"
7
8
+import (
9
+ "golang.org/x/oauth2"
10
+)
11
12
+// Endpoint is Twitch's OAuth 2.0 endpoint.
13
+//
14
+// For more information see:
15
+// https://dev.twitch.tv/docs/authentication
16
+var Endpoint = oauth2.Endpoint{
17
+ AuthURL: "https://api.twitch.tv/kraken/oauth2/authorize",
18
+ TokenURL: "https://api.twitch.tv/kraken/oauth2/token",
19
+}
0 commit comments