Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/deps.ts>jwtCore.create

The best unofficial library of utilities for Deno applications
Go to Latest
function jwtCore.create
import { jwtCore } from "https://deno.land/x/dtils@2.5.0/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>