Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace JsonWebTokenClaim

An individual JWT claim.

Properties

Optional isRequired

isRequired: undefined | false | true

Whether the claim is required to be present in the JWT or not. If set to "false", the claim values will be matched only if the claim is present in the JWT.

key

key: string

Name of the claim.

Optional values

values: Array<string>

The list of acceptable values for a given claim. If this value is "null" or empty and "isRequired" set to "true", then the presence of this claim in the JWT is validated.

Functions

getDeserializedJsonObj

getJsonObj