Optional
payload: Partial<E2EPoPTokenPayload>Payload of the E2EPoP.
Optional
Protected
_payloadPayload of the E2E PoP.
Set "aud" (Audience) Claim.
"aud" (Audience) Claim value to set on the JWT Claims Set.
Set "exp" (Expiration Time) Claim.
"exp" (Expiration Time) Claim value to set on the JWT Claims Set. When number is passed that is used as a value, when string is passed it is resolved to a time span and added to the current timestamp.
Set "iat" (Issued At) Claim and sets the "exp" (Expiration) Claim to the recommended 300 seconds later, if not yet set.
Optional
input: number"iat" (Issued At) Claim value to set on the JWT Claim Set or undefined to use now.
Optional
Set "iss" (Issuer) Claim.
"Issuer" Claim value to set on the JWT Claims Set.
Set "jti" (JWT ID) Claim.
Optional
jwtId: string"jti" (JWT ID) Claim value to set on the JWT Claim Set or undefined to use a UUID.
Optional
Set "nbf" (Not Before) Claim.
"nbf" (Not Before) Claim value to set on the JWT Claims Set. When number is passed that is used as a value, when string is passed it is resolved to a time span and added to the current timestamp.
Sets the protected E2E PoP header.
End-to-End Proof-of-Possession Token header.
Set "sub" (Subject) Claim.
"sub" (Subject) Claim value to set on the JWT Claims Set.
Sets the JWK Thumbprint of the key that the E2E PoP Token will be signed with.
JWA signing algorithm.
JWK Thumbprint of the Client's public key.
Signs and returns the JWT.
Private Key or Secret to sign the JWT with. See Algorithm Key Requirements.
Optional
options: SignOptionsJWT Sign options.
Optional
Generated using TypeDoc
The SignE2EPoPToken class is used to build and sign End-to-End Proof-of-Possession Tokens (E2E PoPs).