Function refreshAccessToken

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

    Parameters

    • clientId: string

      The client ID of your application.

    • clientSecret: string

      The client secret of your application.

    • refreshToken: string

      The refresh token.

    • scopes: string[] = []

      The token scopes.

    Returns Promise<AccessToken>

Generated using TypeDoc