Class TESTAuthenticationProvider

Authentication provider for generating authentication info using a TEST registration key.

Param

provider name. This name will be prepended to the generated UUID in JWT sub.

Param

PEM encoded RSA private key.

Param

key ID of the TEST registration key which is obtained from the admin console.

Param

additional attributes to be added to the issued authentication info.

Hierarchy

  • TESTAuthenticationProvider

Implements

Constructors

  • Parameters

    • name: string
    • privateKey: string
    • keyId: string = 'register_key'
    • Optional attributes: Record<string, any>

    Returns TESTAuthenticationProvider

Properties

testRegistrationAudience: string = 'testRegisterAudience'
testRegistrationIssuer: string = 'testRegisterIssuer'

Methods

  • Generates and returns authentication information.

    Returns Promise<AuthenticationInfo>

    authentication information.

  • Resets internal state and releases any associated resources.

    Returns void

Generated using TypeDoc