{
}
The client secret of your application.
clientSecret:
string
The date of expiry of your access token.
expiry?:
Date
|
null
A callback that is called whenever the auth provider
refreshes the token, e.g. to save the new data in your
database.
onRefresh?:
(token:
AccessToken) =>
void
The refresh token you got when requesting an access token
from Twitch.
refreshToken:
string
Properties
onRefresh
Type: ?(token: AccessToken) => void
A callback that is called whenever the auth provider refreshes the token, e.g. to save the new data in your database.