IJwtService.decode<T = Readonly<Record<string, unknown>>>(token: string): T | null
Decodes a token without verifying it. Never trust the result for authorization decisions.
T | null
The decoded payload, or null when malformed
IJwtService.decode<T = Readonly<Record<string, unknown>>>(token: string): T | null
Decodes a token without verifying it. Never trust the result for authorization decisions.
T | null
The decoded payload, or null when malformed
import { type IJwtService } from "auth-plugin/src/index.ts";