Class LocalAuthenticationProvider

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

Param

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

Param

PEM encoded RSA private key.

Param

key ID.

Param

username to be associated with the issued authentication info.

Param

additional attributes to be added to the issued authentication info.

Hierarchy

  • LocalAuthenticationProvider

Implements

Constructors

Methods

Constructors

  • Parameters

    • name: string
    • privateKey: string
    • keyId: string
    • username: string
    • Optional attributes: 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

Generated using TypeDoc