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

Tokeninfo

import type { Tokeninfo } from "https://googleapis.deno.dev/v1/oauth2:v2.ts";
interface Tokeninfo {
audience?: string;
email?: string;
expires_in?: number;
issued_to?: string;
scope?: string;
user_id?: string;
verified_email?: boolean;
}

§Properties

§
audience?: string
[src]

Who is the intended audience for this token. In general the same as issued_to.

§
email?: string
[src]

The email address of the user. Present only if the email scope is present in the request.

§
expires_in?: number
[src]

The expiry time of the token, as number of seconds left until expiry.

§
issued_to?: string
[src]

To whom was the token issued to. In general the same as audience.

§
scope?: string
[src]

The space separated list of scopes granted to this token.

§
user_id?: string
[src]

The obfuscated user id.

§
verified_email?: boolean
[src]

Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request.