UNPKG

@auth0/nextjs-auth0

Version:
14 lines (13 loc) 435 B
import type { User } from "../types/index.js"; /** * Default claims for the ID token. */ export declare const DEFAULT_ID_TOKEN_CLAIMS: string[]; /** * Filters the claims to only include those that are considered default. * @param claims The claims to filter. * @returns The filtered claims containing only default ID token claims. */ export declare function filterDefaultIdTokenClaims(claims: { [key: string]: any; }): User;