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

x/fathym_common/src/common/jwt/JWTConfig.ts>JWTConfig

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
type alias JWTConfig
import { type JWTConfig } from "https://deno.land/x/fathym_common@v0.2.148-fluent-builder/src/common/jwt/JWTConfig.ts";

JWT configuration.

definition: { Algorithm: AlgorithmIdentifier; Create: (data: Record<string, unknown>, expTime?: number) => Promise<string>; Decode: <T>(token: string) => Promise<[unknown, T, Uint8Array]>; ExpirationTime: number; Header: string; JWK: JsonWebKey; KeyUsages: KeyUsage[]; LoadToken: (req: Request) => string | undefined; SecretKey: () => Promise<CryptoKey>; Schema: string; Type: "JWT"; Verify: (token: string) => Promise<djwt.Payload>; }