Protected _signaturesProtected _signaturesReadonly payloadReadonly payloadProtected signatureOptional additionalProtectedHeader: POJOExports this Token into SignedTokenEncoded
The JSON representation of this Token is SignedTokenEncoded
Exports this Token into SignedToken
Iterates over the signatures and attempts MAC verification
Iterates over the signatures and attempts digital signature verification
Static fromConstruct from encoded payload. It is up the caller to decide what the payload type should be.
Static fromStatic fromGenerated using TypeDoc
Token represents a single token with methods to sign and verify. This token is derived from a strict subset of the JWS specification. The token payload must abide by the registered claims of JWS, additional properties that do not conflict are allowed. For public key signatures, it only supports
EdDSAalgorithm. For MAC signatures, it only supportsBLAKE2balgorithm. Multiple signatures are allowed, including 0 signatures. During signing, additional properties can be part of the protected header. The encoded format is compatible with the General JWS JSON format.