TwurpleAuthenticationGetting dataExamplesFAQMigration

refreshUserToken

Definition

refreshUserToken(clientId, clientSecret, refreshToken)

async

Refreshes an expired access token with your client credentials and the refresh token that was given by the initial authentication.

ParameterTypeRequiredDefaultDescription
clientIdstringnone

The client ID of your application.

clientSecretstringnone

The client secret of your application.

refreshTokenstringnone

The refresh token.

Return type: AccessToken