InternalJwtVerifier

source

Verifies signed JWTs to check that they were issued by the trusted internal authentication service.

Constructors

new InternalJwtVerifier(audience: string | string[]): InternalJwtVerifiersource

Properties

readonlyaudience: string | string[]source

The name of the service which is verifying the JWT.

readonlyconfig: InternalAuthConfigsource

readonlysecretProvider: InternalJwtSecretProvidersource

Methods

Instance methods

verify(token: string): Promise<string | ValidatedJWTPayload>source