ToolsetOpenApiToolsetApiAuthenticationOauthConfig constructor

const ToolsetOpenApiToolsetApiAuthenticationOauthConfig({
  1. required Input<String> clientId,
  2. required Input<String> clientSecretVersion,
  3. required Input<String> oauthGrantType,
  4. Input<List<String>?>? scopes,
  5. required Input<String> tokenEndpoint,
})

Creates a new ToolsetOpenApiToolsetApiAuthenticationOauthConfig. clientId The client ID from the OAuth provider. clientSecretVersion The name of the SecretManager secret version resource storing the oauthGrantType OAuth grant types. scopes The OAuth scopes to grant. tokenEndpoint The token endpoint in the OAuth provider to exchange for an access token.

Implementation

const ToolsetOpenApiToolsetApiAuthenticationOauthConfig({
  required this.clientId,
  required this.clientSecretVersion,
  required this.oauthGrantType,
  this.scopes,
  required this.tokenEndpoint,
});