Function exchangeCode

  • Gets an access token with your client credentials and an authorization code.

    Parameters

    • clientId: string

      The client ID of the application.

    • clientSecret: string

      The client secret of the application.

    • redirectUri: string

      The redirect URI.

    • code: string

      The authorization code.

    Returns Promise<AccessToken>

Generated using TypeDoc