public static interface CfnConnectorProfile.OAuth2CredentialsProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnConnectorProfile.OAuth2CredentialsProperty.Builder
A builder for
CfnConnectorProfile.OAuth2CredentialsProperty |
static class |
CfnConnectorProfile.OAuth2CredentialsProperty.Jsii$Proxy
An implementation for
CfnConnectorProfile.OAuth2CredentialsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnConnectorProfile.OAuth2CredentialsProperty.Builder |
builder() |
default java.lang.String |
getAccessToken()
The access token used to access the connector on your behalf.
|
default java.lang.String |
getClientId()
The identifier for the desired client.
|
default java.lang.String |
getClientSecret()
The client secret used by the OAuth client to authenticate to the authorization server.
|
default java.lang.Object |
getOAuthRequest()
`CfnConnectorProfile.OAuth2CredentialsProperty.OAuthRequest`.
|
default java.lang.String |
getRefreshToken()
The refresh token used to refresh an expired access token.
|
default java.lang.String getAccessToken()
default java.lang.String getClientId()
default java.lang.String getClientSecret()
default java.lang.Object getOAuthRequest()
default java.lang.String getRefreshToken()
static CfnConnectorProfile.OAuth2CredentialsProperty.Builder builder()