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

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

PEM encoded RSA private key.

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

additional attributes to be added to the issued authentication info.

Implements

Constructors

  • Parameters

    • name: string
    • privateKey: string
    • keyId: string = 'register_key'
    • Optionalattributes: 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