Class Auth

Hierarchy

Constructors

Properties

apiClient: default
clientId: string
clientSecret: string
grants: Grants
providers: Providers

Methods

  • Revoke a single access token

    Parameters

    • accessToken: string

      The access token to revoke

    Returns Promise<boolean>

    True if the access token was revoked

  • Build the URL for admin consent authentication for Microsoft

    Parameters

    Returns string

    The URL for hosted authentication

  • Build the URL for authenticating users to your application via Hosted Authentication

    Parameters

    Returns string

    The URL for hosted authentication

  • Build the URL for authenticating users to your application via Hosted Authentication with PKCE IMPORTANT: YOU WILL NEED TO STORE THE 'secret' returned to use it inside the CodeExchange flow

    Parameters

    Returns PKCEAuthURL

    The URL for hosted authentication

Generated using TypeDoc