...

Source file src/golang.org/x/oauth2/twitch/twitch.go

Documentation: golang.org/x/oauth2/twitch

     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://id.twitch.tv/oauth2/authorize",
    18  	TokenURL: "https://id.twitch.tv/oauth2/token",
    19  }
    20  

View as plain text