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

OAuth2

import { OAuth2 } from "https://googleapis.deno.dev/v1/oauth2:v2.ts";

Obtains end-user authorization grants for use with other Google APIs.

class OAuth2 {
constructor(client?: CredentialsClient, baseUrl?: string);
async userinfoGet(): Promise<Userinfo>;
async userinfoV2MeGet(): Promise<Userinfo>;
}

§Constructors

§
new OAuth2(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
userinfoGet(): Promise<Userinfo>
[src]
§
userinfoV2MeGet(): Promise<Userinfo>
[src]