ConnectionAuthConfig constructor

const ConnectionAuthConfig({
  1. Input<List<ConnectionAuthConfigAdditionalVariable>?>? additionalVariables,
  2. Input<String?>? authKey,
  3. required Input<String> authType,
  4. Input<ConnectionAuthConfigOauth2AuthCodeFlow?>? oauth2AuthCodeFlow,
  5. Input<ConnectionAuthConfigOauth2ClientCredentials?>? oauth2ClientCredentials,
  6. Input<ConnectionAuthConfigOauth2JwtBearer?>? oauth2JwtBearer,
  7. Input<ConnectionAuthConfigSshPublicKey?>? sshPublicKey,
  8. Input<ConnectionAuthConfigUserPassword?>? userPassword,
})

Creates a new ConnectionAuthConfig. additionalVariables List containing additional auth configs. authKey The type of authentication configured. authType authType of the Connection oauth2AuthCodeFlow Parameters to support Oauth 2.0 Auth Code Grant Authentication. oauth2ClientCredentials OAuth3 Client Credentials for Authentication. oauth2JwtBearer OAuth2 JWT Bearer for Authentication. sshPublicKey SSH Public Key for Authentication. userPassword User password for Authentication.

Implementation

const ConnectionAuthConfig({
  this.additionalVariables,
  this.authKey,
  required this.authType,
  this.oauth2AuthCodeFlow,
  this.oauth2ClientCredentials,
  this.oauth2JwtBearer,
  this.sshPublicKey,
  this.userPassword,
});