import * as cav from "https://deno.land/x/cav@0.2.3/jwt.ts";
Functions
Verifies the JWT and returns its parsed payload object. If verification fails, an error will be thrown. | |
Creates a new JWT with the given payload, which is passed into JSON.stringify before encoding. If no key is specified, a securely random transient fallback will be used. The fallback key is only generated once during startup and it's lost when the Deno process quits. |