Interface CfnConnectorProfile.IOAuth2CredentialsProperty
The OAuth 2.0 credentials required for OAuth 2.0 authentication.
Namespace: Amazon.CDK.AWS.AppFlow
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnConnectorProfile.IOAuth2CredentialsProperty
Syntax (vb)
Public Interface CfnConnectorProfile.IOAuth2CredentialsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppFlow;
var oAuth2CredentialsProperty = new OAuth2CredentialsProperty {
AccessToken = "accessToken",
ClientId = "clientId",
ClientSecret = "clientSecret",
OAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
},
RefreshToken = "refreshToken"
};
Synopsis
Properties
AccessToken | The access token used to access the connector on your behalf. |
ClientId | The identifier for the desired client. |
ClientSecret | The client secret used by the OAuth client to authenticate to the authorization server. |
OAuthRequest | The OAuth 2.0 credentials required for OAuth 2.0 authentication. |
RefreshToken | The refresh token used to refresh an expired access token. |
Properties
AccessToken
The access token used to access the connector on your behalf.
string? AccessToken { get; }
Property Value
Remarks
ClientId
The identifier for the desired client.
string? ClientId { get; }
Property Value
Remarks
ClientSecret
The client secret used by the OAuth client to authenticate to the authorization server.
string? ClientSecret { get; }
Property Value
Remarks
OAuthRequest
The OAuth 2.0 credentials required for OAuth 2.0 authentication.
object? OAuthRequest { get; }
Property Value
Remarks
RefreshToken
The refresh token used to refresh an expired access token.
string? RefreshToken { get; }