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 IOAuth2CredentialsProperty
Syntax (vb)
Public Interface 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
Access |
The access token used to access the connector on your behalf. |
Client |
The identifier for the desired client. |
Client |
The client secret used by the OAuth client to authenticate to the authorization server. |
OAuth |
|
Refresh |
The refresh token used to refresh an expired access token. |
Properties
AccessToken
The access token used to access the connector on your behalf.
virtual string AccessToken { get; }
Property Value
System.
Remarks
ClientId
The identifier for the desired client.
virtual string ClientId { get; }
Property Value
System.
Remarks
ClientSecret
The client secret used by the OAuth client to authenticate to the authorization server.
virtual string ClientSecret { get; }
Property Value
System.
Remarks
OAuthRequest
virtual object OAuthRequest { get; }
Property Value
System.
Remarks
RefreshToken
The refresh token used to refresh an expired access token.
virtual string RefreshToken { get; }
Property Value
System.