Class CfnConnectorProfile.OAuthCredentialsProperty
The OAuth credentials required for OAuth type authentication.
Inheritance
System.Object
CfnConnectorProfile.OAuthCredentialsProperty
Namespace: Amazon.CDK.AWS.AppFlow
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class OAuthCredentialsProperty : Object, CfnConnectorProfile.IOAuthCredentialsProperty
Syntax (vb)
Public Class OAuthCredentialsProperty
Inherits Object
Implements CfnConnectorProfile.IOAuthCredentialsProperty
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 oAuthCredentialsProperty = new OAuthCredentialsProperty {
AccessToken = "accessToken",
ClientId = "clientId",
ClientSecret = "clientSecret",
ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
},
RefreshToken = "refreshToken"
};
Synopsis
Constructors
OAuthCredentialsProperty() |
Properties
AccessToken | The access token used to access protected SAPOData resources. |
ClientId | The identifier for the desired client. |
ClientSecret | The client secret used by the OAuth client to authenticate to the authorization server. |
ConnectorOAuthRequest | |
RefreshToken | The refresh token used to refresh expired access token. |
Constructors
OAuthCredentialsProperty()
public OAuthCredentialsProperty()
Properties
AccessToken
The access token used to access protected SAPOData resources.
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
ConnectorOAuthRequest
public object ConnectorOAuthRequest { get; set; }
Property Value
System.Object
Remarks
RefreshToken
The refresh token used to refresh expired access token.
public string RefreshToken { get; set; }
Property Value
System.String