@@ -64,6 +64,7 @@ type connectionRequest struct {
6464 LockConfig * lockConfig `json:"lockConfig,omitempty"`
6565 DestinationConfigs * []destinationConfig `json:"destinationConfigs,omitempty"`
6666 AuthConfig * authConfig `json:"authConfig,omitempty"`
67+ AuthOverrideEnabled bool `json:"authOverrideEnabled,omitempty"`
6768 ServiceAccount * string `json:"serviceAccount,omitempty"`
6869 Suspended * bool `json:"suspended,omitempty"`
6970 NodeConfig * nodeConfig `json:"nodeConfig,omitempty"`
@@ -78,8 +79,10 @@ type authConfig struct {
7879 UserPassword * userPassword `json:"userPassword,omitempty"`
7980 Oauth2JwtBearer * oauth2JwtBearer `json:"oauth2JwtBearer,omitempty"`
8081 Oauth2ClientCredentials * oauth2ClientCredentials `json:"oauth2ClientCredentials,omitempty"`
82+ Oauth2AuthCodeFlow * oauth2AuthCodeFlow `json:"oauth2AuthCodeFlow,omitempty"`
8183 SshPublicKey * sshPublicKey `json:"sshPublicKey,omitempty"`
8284 AdditionalVariables * []configVar `json:"additionalVariables,omitempty"`
85+ AuthKey string `json:"authKey,omitempty"`
8386}
8487
8588type lockConfig struct {
@@ -88,7 +91,8 @@ type lockConfig struct {
8891}
8992
9093type logConfig struct {
91- Enabled bool `json:"enabled,omitempty"`
94+ Enabled bool `json:"enabled,omitempty"`
95+ Level string `json:"level,omitempty"`
9296}
9397
9498type sslConfig struct {
@@ -135,6 +139,14 @@ type oauth2JwtBearer struct {
135139 JwtClaims jwtClaims `json:"jwtClaims,omitempty"`
136140}
137141
142+ type oauth2AuthCodeFlow struct {
143+ ClientId string `json:"clientId,omitempty"`
144+ ClientSecret * secret `json:"clientSecret,omitempty"`
145+ ClientSecretDetails * secretDetails `json:"clientSecretDetails,omitempty"`
146+ Scopes []string `json:"scopes,omitempty"`
147+ AuthUri string `json:"authUri,omitempty"`
148+ }
149+
138150type oauth2ClientCredentials struct {
139151 ClientId string `json:"clientId,omitempty"`
140152 ClientSecret * secret `json:"clientSecret,omitempty"`
0 commit comments