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

GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig

import type { GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";

Config for authentication with OAuth.

interface GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig {
clientId?: string;
clientSecret?: string;
oauthGrantType?: "OAUTH_GRANT_TYPE_UNSPECIFIED" | "CLIENT_CREDENTIAL";
scopes?: string[];
secretVersionForClientSecret?: string;
tokenEndpoint?: string;
}

§Properties

§
clientId?: string
[src]

Required. The client ID from the OAuth provider.

§
clientSecret?: string
[src]

Optional. The client secret from the OAuth provider. If the secret_version_for_client_secret field is set, this field will be ignored.

§
oauthGrantType?: "OAUTH_GRANT_TYPE_UNSPECIFIED" | "CLIENT_CREDENTIAL"
[src]

Required. OAuth grant types.

§
scopes?: string[]
[src]

Optional. The OAuth scopes to grant.

§
secretVersionForClientSecret?: string
[src]

Optional. The name of the SecretManager secret version resource storing the client secret. If this field is set, the client_secret field will be ignored. Format: projects/{project}/secrets/{secret}/versions/{version}

§
tokenEndpoint?: string
[src]

Required. The token endpoint in the OAuth provider to exchange for an access token.