Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

JwtPayload

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[];
app_metadata?: UserAppMetadata;
email?: string;
is_anonymous?: boolean;
jti?: string;
nbf?: number;
phone?: string;
ref?: string;
user_metadata?: UserMetadata;
}

§Extends

§Index Signatures

§
[key: string]: any

§Properties

§
app_metadata?: UserAppMetadata
[src]
§
email?: string
[src]
§
is_anonymous?: boolean
[src]
§
jti?: string
[src]
§
nbf?: number
[src]
§
phone?: string
[src]
§
ref?: string
[src]
§
user_metadata?: UserMetadata
[src]