AccountConnectorCustomOauthConfig constructor
const
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< scopes,String> > - 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.
Implementation
const AccountConnectorCustomOauthConfig({
required this.authUri,
required this.clientId,
required this.clientSecret,
required this.hostUri,
this.pkceDisabled,
required this.scmProvider,
required this.scopes,
this.serverVersion,
this.serviceDirectoryConfig,
this.sslCaCertificate,
required this.tokenUri,
});