GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode
import type { GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode } from "https://googleapis.deno.dev/v1/integrations:v1.ts";
The OAuth Type where the client sends request with the client id and requested scopes to auth endpoint. User sees a consent screen and auth code is received at specified redirect url afterwards. The auth code is then combined with the client id and secret and sent to the token endpoint in exchange for the access and refresh token. The refresh token can be used to fetch new access tokens.
§Properties
The access token received from the token endpoint.
Indicates if the user has opted in Google Reauth Policy. If opted in, the refresh token will be valid for 20 hours, after which time users must re-authenticate in order to obtain a new one.
The auth parameters sent along with the auth code request.
Represent how to pass parameters to fetch access token
The token parameters sent along with the token request.