Interface: CatOptions

CatOptions

Options for the CAT object

Example

const opts = {
  keys: {
    Symmetric256: Buffer.from('403697de87af64611c1d32a05dab0fe1fcb715a86ab435f1ec99192d79569388', 'hex')
  },
  expectCwtTag: true
};

Members

expectCwtTag :boolean

Whether there should be a CWT tag in the token
Type:
  • boolean

keys :object

Key ID to key mapping
Type:
  • object
Properties:
Name Type Description
keyid: Buffer string