Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Google = internal.Provider{ Config: oauth2.Config{ ClientID: googleID, ClientSecret: googleSecret, Endpoint: oauth2.Endpoint{ AuthURL: "https://accounts.google.com/o/oauth2/auth", TokenURL: "https://accounts.google.com/o/oauth2/token", }, Scopes: []string{ "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/userinfo.profile", "https://www.googleapis.com/auth/userinfo.email", }, }, CustomParams: map[string]string{ "access_type": "offline", "prompt": "consent", }, FetchUser: googleFetchUser, }
View Source
var Twitch = internal.Provider{ Config: oauth2.Config{ ClientID: twitchID, ClientSecret: twitchSecret, Endpoint: oauth2.Endpoint{ AuthURL: "https://api.twitch.tv/kraken/oauth2/authorize", TokenURL: "https://api.twitch.tv/kraken/oauth2/token", }, Scopes: []string{ "channel_subscriptions", "chat_login", "user_read", }, }, FetchUser: twitchFetchUser, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.