Constructors

Methods

  • Parameters

    • options: {
          chain: Chain;
          policyId?: string;
      }
      • chain: Chain
      • OptionalpolicyId?: string

    Returns Provider

  • Initiates the authorization flow.

    Parameters

    • Optionaloptions: {
          useCachedSession: boolean;
      }
      • useCachedSession: boolean

        = false - If true, and no active session exists, then the user will not be prompted to log in and the Promise will resolve with a null value.

    Returns Promise<null | UserProfile>

    the user profile if the user is logged in, otherwise null

  • Returns Promise<void>

  • Returns Promise<void>

  • This method should only be called from the logout redirect uri when logout mode is 'silent'.

    Returns Promise<undefined | UserProfile>

  • Returns Promise<undefined | string>

  • Returns Promise<undefined | string>