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

Userinfo

import type { Userinfo } from "https://googleapis.deno.dev/v1/oauth2:v2.ts";
interface Userinfo {
email?: string;
family_name?: string;
gender?: string;
given_name?: string;
hd?: string;
id?: string;
link?: string;
locale?: string;
name?: string;
picture?: string;
verified_email?: boolean;
}

§Properties

§
email?: string
[src]

The user's email address.

§
family_name?: string
[src]

The user's last name.

§
gender?: string
[src]

The user's gender.

§
given_name?: string
[src]

The user's first name.

§
hd?: string
[src]

The hosted domain e.g. example.com if the user is Google apps user.

§
id?: string
[src]

The obfuscated ID of the user.

§
locale?: string
[src]

The user's preferred locale.

§
name?: string
[src]

The user's full name.

§
picture?: string
[src]

URL of the user's picture image.

§
verified_email?: boolean
[src]

Boolean flag which is true if the email address is verified. Always verified because we only return the user's primary email address.