ToolsetOpenApiToolsetApiAuthentication constructor

const ToolsetOpenApiToolsetApiAuthentication({
  1. Input<ToolsetOpenApiToolsetApiAuthenticationApiKeyConfig?>? apiKeyConfig,
  2. Input<ToolsetOpenApiToolsetApiAuthenticationBearerTokenConfig?>? bearerTokenConfig,
  3. Input<ToolsetOpenApiToolsetApiAuthenticationOauthConfig?>? oauthConfig,
  4. Input<ToolsetOpenApiToolsetApiAuthenticationServiceAccountAuthConfig?>? serviceAccountAuthConfig,
  5. Input<Map<String, dynamic>?>? serviceAgentIdTokenAuthConfig,
})

Creates a new ToolsetOpenApiToolsetApiAuthentication. apiKeyConfig Configurations for authentication with API key. bearerTokenConfig Configurations for authentication with a bearer token. oauthConfig Configurations for authentication with OAuth. serviceAccountAuthConfig Configurations for authentication using a custom service account. serviceAgentIdTokenAuthConfig Configurations for authentication with [ID

Implementation

const ToolsetOpenApiToolsetApiAuthentication({
  this.apiKeyConfig,
  this.bearerTokenConfig,
  this.oauthConfig,
  this.serviceAccountAuthConfig,
  this.serviceAgentIdTokenAuthConfig,
});