Skip to main content
Module

x/jose/index.ts>EncryptJWT#replicateSubjectAsHeader

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Go to Latest
method EncryptJWT.prototype.replicateSubjectAsHeader
import { EncryptJWT } from "https://deno.land/x/jose@v4.11.1/index.ts";

Replicates the "sub" (Subject) Claim as a JWE Protected Header Parameter as per RFC7519#section-5.3.