PluginInstanceAuthConfig constructor
const
PluginInstanceAuthConfig({
- Input<
PluginInstanceAuthConfigApiKeyConfig?> ? apiKeyConfig, - required Input<
String> authType, - Input<
PluginInstanceAuthConfigGoogleServiceAccountConfig?> ? googleServiceAccountConfig, - Input<
PluginInstanceAuthConfigOauth2ClientCredentialsConfig?> ? oauth2ClientCredentialsConfig, - Input<
PluginInstanceAuthConfigUserPasswordConfig?> ? userPasswordConfig,
Creates a new PluginInstanceAuthConfig.
apiKeyConfig Config for authentication with API key.
authType Possible values:
googleServiceAccountConfig Config for Google service account authentication.
oauth2ClientCredentialsConfig Parameters to support Oauth 2.0 client credentials grant authentication.
userPasswordConfig Parameters to support Username and Password Authentication.
Implementation
const PluginInstanceAuthConfig({
this.apiKeyConfig,
required this.authType,
this.googleServiceAccountConfig,
this.oauth2ClientCredentialsConfig,
this.userPasswordConfig,
});