Authentication info consisting of a JWT signed using the locally stored private key.

provider name. This name will be used to populate JWT iss (issuer).

PEM encoded RSA private key.

key ID.

username to be associated with the issued authentication info.

additional attributes to be added to the issued authentication info.

Implements

Constructors

  • Parameters

    • name: string
    • privateKey: string
    • keyId: string
    • username: string
    • Optionalattributes: Record<string, any>

    Returns LocalAuthenticationProvider

Methods

  • Generates and returns authentication information.

    Returns Promise<AuthenticationInfo>

    authentication information.

  • Resets internal state and releases any associated resources.

    Returns void