You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
577 B

  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. // Package twitch provides constants for using OAuth2 to access Twitch.
  5. package twitch // import "golang.org/x/oauth2/twitch"
  6. import (
  7. "golang.org/x/oauth2"
  8. )
  9. // Endpoint is Twitch's OAuth 2.0 endpoint.
  10. //
  11. // For more information see:
  12. // https://dev.twitch.tv/docs/authentication
  13. var Endpoint = oauth2.Endpoint{
  14. AuthURL: "https://id.twitch.tv/oauth2/authorize",
  15. TokenURL: "https://id.twitch.tv/oauth2/token",
  16. }