Interface CfnConnectorProfilePropsMixin.OAuthCredentialsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectorProfilePropsMixin.OAuthCredentialsProperty.Jsii$Proxy
- Enclosing class:
CfnConnectorProfilePropsMixin
@Stability(Stable)
public static interface CfnConnectorProfilePropsMixin.OAuthCredentialsProperty
extends software.amazon.jsii.JsiiSerializable
The OAuth credentials required for OAuth type authentication.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.appflow.*;
OAuthCredentialsProperty oAuthCredentialsProperty = OAuthCredentialsProperty.builder()
.accessToken("accessToken")
.clientId("clientId")
.clientSecret("clientSecret")
.connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
.authCode("authCode")
.redirectUri("redirectUri")
.build())
.refreshToken("refreshToken")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnectorProfilePropsMixin.OAuthCredentialsPropertystatic final classAn implementation forCfnConnectorProfilePropsMixin.OAuthCredentialsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe access token used to access protected SAPOData resources.default StringThe identifier for the desired client.default StringThe client secret used by the OAuth client to authenticate to the authorization server.default ObjectReturns union: eitherIResolvableorCfnConnectorProfilePropsMixin.ConnectorOAuthRequestPropertydefault StringThe refresh token used to refresh expired access token.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessToken
The access token used to access protected SAPOData resources.- See Also:
-
getClientId
The identifier for the desired client.- See Also:
-
getClientSecret
The client secret used by the OAuth client to authenticate to the authorization server.- See Also:
-
getConnectorOAuthRequest
Returns union: eitherIResolvableorCfnConnectorProfilePropsMixin.ConnectorOAuthRequestProperty- See Also:
-
getRefreshToken
The refresh token used to refresh expired access token.- See Also:
-
builder
-