Interface User

The shape of the returned object in the OAuth providers' profile callback, available in the jwt and session callbacks, or the second parameter of the session callback, when using a database.

interface User {
    email?: string;
    id?: string;
    image?: string;
    name?: string;
}

Properties

Properties

email?: string
id?: string
image?: string
name?: string