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

OAuthToken

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

Contains information needed for generating an OAuth token. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

interface OAuthToken {
scope?: string;
serviceAccountEmail?: string;
}

§Properties

§
scope?: string
[src]

OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.

§
serviceAccountEmail?: string
[src]

Service account email to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.