JwtPayload
import type { JwtPayload } from "https://esm.sh/@supabase/supabase-js@2.89.0/dist/index.d.mts";JWT Payload containing claims for Supabase authentication tokens.
Required claims (iss, aud, exp, iat, sub, role, aal, session_id) are inherited from RequiredClaims. All other claims are optional as they can be customized via Custom Access Token Hooks.
interface JwtPayload extends RequiredClaims {
[key: string]: any;
amr?: AMREntry[] | string[];
app_metadata?: UserAppMetadata;
email?: string;
is_anonymous?: boolean;
jti?: string;
nbf?: number;
phone?: string;
ref?: string;
user_metadata?: UserMetadata;
}