AccountConnectorCustomOauthConfig class
Constructors
-
AccountConnectorCustomOauthConfig({required Input<String> authUri, required Input<String> clientId, required Input<String> clientSecret, required Input<String> hostUri, Input<bool?>? pkceDisabled, required Input<String> scmProvider, required Input<List<String>> scopes, Input<String?>? serverVersion, Input<AccountConnectorCustomOauthConfigServiceDirectoryConfig?>? serviceDirectoryConfig, Input<String?>? sslCaCertificate, required Input<String> tokenUri})
-
Creates a new AccountConnectorCustomOauthConfig.
authUri The OAuth2 authrization server URL.
clientId The client ID of the OAuth application.
clientSecret Input only. The client secret of the OAuth application.
hostUri The host URI of the OAuth application.
pkceDisabled Disable PKCE for this OAuth config. PKCE is enabled by default.
scmProvider The type of the SCM provider.
scopes The scopes to be requested during OAuth.
serverVersion (Output)
serviceDirectoryConfig ServiceDirectoryConfig represents Service Directory configuration for a
sslCaCertificate SSL certificate to use for requests to a private service.
tokenUri The OAuth2 token request URL.
const
-
AccountConnectorCustomOauthConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
authUri
→ Input<String>
-
The OAuth2 authrization server URL.
final
-
clientId
→ Input<String>
-
The client ID of the OAuth application.
final
-
clientSecret
→ Input<String>
-
Input only. The client secret of the OAuth application.
It will be provided as plain text, but encrypted and stored in developer
connect. As INPUT_ONLY field, it will not be included in the output.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hostUri
→ Input<String>
-
The host URI of the OAuth application.
final
-
pkceDisabled
→ Input<bool?>?
-
Disable PKCE for this OAuth config. PKCE is enabled by default.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
scmProvider
→ Input<String>
-
The type of the SCM provider.
Possible values:
SCM_PROVIDER_UNKNOWN
GITHUB_ENTERPRISE
GITLAB_ENTERPRISE
BITBUCKET_DATA_CENTER
final
-
scopes
→ Input<List<String>>
-
The scopes to be requested during OAuth.
final
-
serverVersion
→ Input<String?>?
-
(Output)
SCM server version installed at the host URI.
final
-
serviceDirectoryConfig
→ Input<AccountConnectorCustomOauthConfigServiceDirectoryConfig?>?
-
ServiceDirectoryConfig represents Service Directory configuration for a
connection.
Structure is documented below.
final
-
sslCaCertificate
→ Input<String?>?
-
SSL certificate to use for requests to a private service.
final
-
tokenUri
→ Input<String>
-
The OAuth2 token request URL.
final