InternalJwtVerifier
sourceVerifies signed JWTs to check that they were issued by the trusted internal authentication service.
Constructors
new InternalJwtVerifier(audience: string | string[]): InternalJwtVerifiersource
Properties
audience: string | string[]source
The name of the service which is verifying the JWT.
config: InternalAuthConfigsource
secretProvider: InternalJwtSecretProvidersource
Methods
Instance methods
verify(token: string): Promise<string | ValidatedJWTPayload>source