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

AccessCredentials

import type { AccessCredentials } from "https://googleapis.deno.dev/v1/connectors:v2.ts";

AccessCredentials includes the OAuth access token, and the other fields returned along with it.

interface AccessCredentials {
accessToken?: string;
expiresIn?: number;
refreshToken?: string;
}

§Properties

§
accessToken?: string
[src]

OAuth access token.

§
expiresIn?: number
[src]

Duration till the access token expires.

§
refreshToken?: string
[src]

OAuth refresh token.