Interface CfnConnectorProfile.OAuth2CredentialsProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnConnectorProfile.OAuth2CredentialsProperty.Jsii$Proxy
- Enclosing class:
- CfnConnectorProfile
@Stability(Stable)
public static interface CfnConnectorProfile.OAuth2CredentialsProperty
extends software.amazon.jsii.JsiiSerializable
The OAuth 2.0 credentials required for OAuth 2.0 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.services.appflow.*;
 OAuth2CredentialsProperty oAuth2CredentialsProperty = OAuth2CredentialsProperty.builder()
         .accessToken("accessToken")
         .clientId("clientId")
         .clientSecret("clientSecret")
         .oAuthRequest(ConnectorOAuthRequestProperty.builder()
                 .authCode("authCode")
                 .redirectUri("redirectUri")
                 .build())
         .refreshToken("refreshToken")
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnectorProfile.OAuth2CredentialsPropertystatic final classAn implementation forCfnConnectorProfile.OAuth2CredentialsProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default StringThe access token used to access the connector on your behalf.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: eitherIResolvableorCfnConnectorProfile.ConnectorOAuthRequestPropertydefault StringThe refresh token used to refresh an expired access token.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getAccessTokenThe access token used to access the connector on your behalf.- See Also:
 
- 
getClientIdThe identifier for the desired client.- See Also:
 
- 
getClientSecretThe client secret used by the OAuth client to authenticate to the authorization server.- See Also:
 
- 
getOAuthRequestReturns union: eitherIResolvableorCfnConnectorProfile.ConnectorOAuthRequestProperty- See Also:
 
- 
getRefreshTokenThe refresh token used to refresh an expired access token.- See Also:
 
- 
builder
 
-