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

OAuth2

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

The OAuth 2.0 Settings

interface OAuth2 {
clientId?: string;
clientSecret?: string;
readonly clientSecretSha256?: string;
}

§Properties

§
clientId?: string
[src]

The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.

§
clientSecret?: string
[src]

Input only. The OAuth 2.0 client secret created while registering the client ID.

§
readonly clientSecretSha256?: string
[src]

Output only. SHA256 hash value for the client secret. This field is returned by IAP when the settings are retrieved.