Class CfnConnectorProfile.OAuth2CredentialsProperty
The OAuth 2.0 credentials required for OAuth 2.0 authentication.
Inheritance
System.Object
CfnConnectorProfile.OAuth2CredentialsProperty
Namespace: Amazon.CDK.AWS.AppFlow
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class OAuth2CredentialsProperty : Object, CfnConnectorProfile.IOAuth2CredentialsProperty
Syntax (vb)
Public Class OAuth2CredentialsProperty
Inherits Object
Implements 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
Constructors
OAuth2CredentialsProperty() |
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 | |
RefreshToken | The refresh token used to refresh an expired access token. |
Constructors
OAuth2CredentialsProperty()
public OAuth2CredentialsProperty()
Properties
AccessToken
The access token used to access the connector on your behalf.
public string AccessToken { get; set; }
Property Value
System.String
Remarks
ClientId
The identifier for the desired client.
public string ClientId { get; set; }
Property Value
System.String
Remarks
ClientSecret
The client secret used by the OAuth client to authenticate to the authorization server.
public string ClientSecret { get; set; }
Property Value
System.String
Remarks
OAuthRequest
public object OAuthRequest { get; set; }
Property Value
System.Object
Remarks
RefreshToken
The refresh token used to refresh an expired access token.
public string RefreshToken { get; set; }
Property Value
System.String