Options
All
  • Public
  • Public/Protected
  • All
Menu

Oauth2.0 Authorization Code client

Hierarchy

  • BaseClient
    • AuthorizationCodeClient

Index

Constructors

constructor

Properties

authority

authority: Authority

logger

logger: Logger

Methods

acquireToken

getAuthCodeUrl

  • Creates the URL of the authorization request letting the user input credentials and consent to the application. The URL target the /authorize endpoint of the authority configured in the application object.

    Once the user inputs their credentials and consents, the authority will send a response to the redirect URI sent in the request and should contain an authorization code, which can then be used to acquire tokens via acquireToken(AuthorizationCodeRequest)

    Parameters

    Returns Promise<string>

getLogoutUri

handleFragmentResponse

updateAuthority

  • updateAuthority(updatedAuthority: Authority): void

Generated using TypeDoc