Skip to main content
Module

x/jose/jwt/encrypt.ts>EncryptJWT#replicateAudienceAsHeader

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS with no dependencies using runtime's native crypto in Node.js, Browser, Cloudflare Workers, Electron, and Deno.
Extremely Popular
Go to Latest
method EncryptJWT.prototype.replicateAudienceAsHeader
import { EncryptJWT } from "https://deno.land/x/jose@v4.8.3/jwt/encrypt.ts";

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