@Stability(value=Stable)
public static interface CfnConnectorProfile.OAuth2CredentialsProperty
extends software.amazon.jsii.JsiiSerializable
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 String |
getAccessToken()
The access token used to access the connector on your behalf.
|
default String |
getClientId()
The identifier for the desired client.
|
default String |
getClientSecret()
The client secret used by the OAuth client to authenticate to the authorization server.
|
default Object |
getOAuthRequest()
`CfnConnectorProfile.OAuth2CredentialsProperty.OAuthRequest`.
|
default String |
getRefreshToken()
The refresh token used to refresh an expired access token.
|
@Stability(value=Stable) @Nullable default String getAccessToken()
@Stability(value=Stable) @Nullable default String getClientId()
@Stability(value=Stable) @Nullable default String getClientSecret()
@Stability(value=Stable) @Nullable default Object getOAuthRequest()
@Stability(value=Stable) @Nullable default String getRefreshToken()
@Stability(value=Stable) static CfnConnectorProfile.OAuth2CredentialsProperty.Builder builder()
Copyright © 2023. All rights reserved.