Options
All
  • Public
  • Public/Protected
  • All
Menu

Validation options, used by the validate function to determine which validation checks to perform.

Note that by default, validate will perform all checks. You may skip a validation check by setting one of the ValidateOptions to false.

Hierarchy

  • ValidateOptions

Index

Properties

checkIsExpired?: boolean

Check that the token's expiration time (if set) has not yet arrived.

checkIsTooEarly?: boolean

Check that the token's "not before" time (if set) is in the past.

checkIssuer?: boolean

Check that the iss field contains a public key with the correct key type for the JWT signing algorithm.

checkSignature?: boolean

Check that the token's signature is valid. Please think carefully before you disable this!

Generated using TypeDoc