Object - jwt : InboundJwtAuthProvider

Represents inbound JWT auth provider.

Constructor

__init

(JwtValidatorConfig jwtValidatorConfig)

Methods

Fields

authenticate

(string credential)

returns boolean | AuthError

Authenticate with a JWT token.

Parameters

  • credential string
  • Jwt token extracted from the authentication header

  • Return Type

    (boolean | AuthError)
  • true if authentication is successful, othewise false or auth:AuthError occurred during JWT validation