AgentcoreGatewayTargetCredentialProviderConfigurationOauth constructor
const
AgentcoreGatewayTargetCredentialProviderConfigurationOauth({})
Creates a new AgentcoreGatewayTargetCredentialProviderConfigurationOauth.
customParameters Map of custom parameters to include in OAuth requests.
defaultReturnUrl The URL where the end user's browser is redirected after obtaining the authorization code. Required when grantType is AUTHORIZATION_CODE.
grantType The OAuth grant type. Valid values: CLIENT_CREDENTIALS (machine-to-machine authentication), AUTHORIZATION_CODE (user-delegated access).
providerArn ARN of the Oauth credential provider for OAuth authentication.
scopes Set of OAuth scopes to request.
Implementation
const AgentcoreGatewayTargetCredentialProviderConfigurationOauth({
this.customParameters,
this.defaultReturnUrl,
this.grantType,
required this.providerArn,
required this.scopes,
});