Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AuthorizeRequestOnChallengeOptions

Package version

Options sent to the authorizeRequestOnChallenge callback

Hierarchy

  • AuthorizeRequestOnChallengeOptions

Index

Properties

getAccessToken

getAccessToken: (scopes: string[], options: GetTokenOptions) => Promise<AccessToken | null>

Function that retrieves either a cached access token or a new access token.

Type declaration

    • (scopes: string[], options: GetTokenOptions): Promise<AccessToken | null>
    • Parameters

      • scopes: string[]
      • options: GetTokenOptions

      Returns Promise<AccessToken | null>

request

Request that the policy is trying to fulfill.

response

Response containing the challenge.

scopes

scopes: string[]

The scopes for which the bearer token applies.

Generated using TypeDoc