Interface CfnConnectorProfile.OAuthCredentialsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConnectorProfile.OAuthCredentialsProperty.Jsii$Proxy
Enclosing class:
CfnConnectorProfile

@Stability(Stable) public static interface CfnConnectorProfile.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.services.appflow.*;
 OAuthCredentialsProperty oAuthCredentialsProperty = OAuthCredentialsProperty.builder()
         .accessToken("accessToken")
         .clientId("clientId")
         .clientSecret("clientSecret")
         .connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
                 .authCode("authCode")
                 .redirectUri("redirectUri")
                 .build())
         .refreshToken("refreshToken")
         .build();
 
  • Method Details

    • getAccessToken

      @Stability(Stable) @Nullable default String getAccessToken()
      The access token used to access protected SAPOData resources.
    • getClientId

      @Stability(Stable) @Nullable default String getClientId()
      The identifier for the desired client.
    • getClientSecret

      @Stability(Stable) @Nullable default String getClientSecret()
      The client secret used by the OAuth client to authenticate to the authorization server.
    • getConnectorOAuthRequest

      @Stability(Stable) @Nullable default Object getConnectorOAuthRequest()
      CfnConnectorProfile.OAuthCredentialsProperty.ConnectorOAuthRequest.
    • getRefreshToken

      @Stability(Stable) @Nullable default String getRefreshToken()
      The refresh token used to refresh expired access token.
    • builder

      @Stability(Stable) static CfnConnectorProfile.OAuthCredentialsProperty.Builder builder()
      Returns:
      a CfnConnectorProfile.OAuthCredentialsProperty.Builder of CfnConnectorProfile.OAuthCredentialsProperty