TwitchProvider
Reference doc for the `TwitchProvider`.
Use this provider to authenticate with Twitch.
Methods
TwitchProvider
Parameters
The config for the provider.config
TwitchConfig
Returns Provider
Create a Twitch OAuth2 provider.
TwitchConfig
-
clientID
string
-
clientSecret
string
-
query?
Record
<
string
,string
>
-
scopes
string
[]
TwitchConfig.clientID
Type string
The client ID.
This is just a string to identify your app.
TwitchConfig.clientSecret
Type string
The client secret.
This is a private key that’s used to authenticate your app. It should be kept secret.
TwitchConfig.query?
Type Record
<
string
, string
>
Any additional parameters that you want to pass to the authorization endpoint.
TwitchConfig.scopes
Type string
[]
A list of OAuth scopes that you want to request.