Skip to main content
Module

x/bwt/mod.ts

Better Web Token - an iteration of web tokens with a bunch of improvements
Latest
import * as bwt from "https://deno.land/x/bwt@v0.6.0/mod.ts";

Enums

Typ enum indicating a BWT version @ the Header.typ field.

Variables

Byte length of a BWT kid.

Maximum allowed number of characters of a token.

Byte length of a Curve25519 public key.

Byte length of a Curve25519 secret key.

Supported BWT versions.

Functions

Creates a BWT parse function.

Creates a BWT stringify function.

Generates a BWT key pair.

Interfaces

BWT body object.

Parsed contents of a token.

BWT header object.

BWT keypair object including a key identifier for the public key.

BWT parse function.

BWT public key of a peer.

BWT stringify function.