Skip to main content
Go to Latest
type alias JWTConfig
Re-export
import { type JWTConfig } from "https://deno.land/x/fathym_everything_as_code@v0.0.402/mod.ts";
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>; }