Object - jwt : InboundJwtAuthProvider

Represents inbound JWT auth provider.

Constructor

__init

(JwtValidatorConfig jwtValidatorConfig)

Methods

Fields

authenticate

(string credential)

returns boolean | Error

Authenticate with a JWT token.

Parameters

  • credential string
  • Jwt token extracted from the authentication header

  • Return Type

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