Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function djwt.create
import { djwt } from "https://deno.land/x/fathym_everything_as_code@v0.0.413/src/src.deps.ts";
const { create } = djwt;

Takes Header, Payload and CryptoKey and returns the url-safe encoded jwt.

Parameters

header: Header
payload: Payload
key: CryptoKey | null

Returns

Promise<string>