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
§
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.