Interface Profile

The user info returned from your OAuth provider.

interface Profile {
    address?: {
        country?: string;
        formatted?: string;
        locality?: string;
        postal_code?: string;
        region?: string;
        street_address?: string;
    };
    birthdate?: string;
    email?: string;
    email_verified?: boolean;
    family_name?: string;
    gender?: string;
    given_name?: string;
    id?: string;
    locale?: string;
    middle_name?: string;
    name?: string;
    nickname?: string;
    phone_number?: string;
    picture?: any;
    preferred_username?: string;
    profile?: string;
    sub?: string;
    updated_at?: string | number | Date;
    website?: string;
    zoneinfo?: string;
    [claim: string]: unknown;
}

Indexable

  • [claim: string]: unknown

Properties

address?: {
    country?: string;
    formatted?: string;
    locality?: string;
    postal_code?: string;
    region?: string;
    street_address?: string;
}
birthdate?: string
email?: string
email_verified?: boolean
family_name?: string
gender?: string
given_name?: string
id?: string
locale?: string
middle_name?: string
name?: string
nickname?: string
phone_number?: string
picture?: any
preferred_username?: string
profile?: string
sub?: string
updated_at?: string | number | Date
website?: string
zoneinfo?: string