TwurpleAuthenticationGetting dataExamplesFAQMigration

getTokenInfo

Definition

getTokenInfo(accessToken, clientId)

async

Gets information about an access token.

ParameterTypeRequiredDefaultDescription
accessTokenstringnone

The access token to get the information of.

clientIdstringnone

The client ID of your application.

You need to obtain one using one of the Twitch OAuth flows.

Return type: TokenInfo