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

x/blocks/commons/jwt/deps.ts>djwt.Payload

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
interface djwt.Payload
import { type djwt } from "https://deno.land/x/blocks@1.63.13/commons/jwt/deps.ts";
const { Payload } = djwt;

JWT §1: JWTs encode claims to be transmitted as a JSON [RFC7159] object [...]. JWT §4.1: The following Claim Names are registered in the IANA "JSON Web Token Claims" registry established by Section 10.1. None of the claims defined below are intended to be mandatory to use or implement in all cases, but rather they provide a starting point for a set of useful, interoperable claims. Applications using JWTs should define which specific claims they use and when they are required or optional.

Index Signatures

[key: string]: unknown

Properties

optional
iss: string
optional
sub: string
optional
aud: string[] | string
optional
exp: number
optional
nbf: number
optional
iat: number
optional
jti: string