Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/deps.ts>jwtCore.create

The best unofficial library of utilities for Deno applications
Latest
function jwtCore.create
import { jwtCore } from "https://deno.land/x/dtils@2.6.1/deps.ts";
const { create } = jwtCore;

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

Parameters

header: Header
payload: Payload
key: CryptoKey | null

Returns

Promise<string>