AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The connector-specific profile credentials required when using Salesforce.

Inheritance Hierarchy

System.Object
  Amazon.Appflow.Model.SalesforceConnectorProfileCredentials

Namespace: Amazon.Appflow.Model
Assembly: AWSSDK.Appflow.dll
Version: 3.x.y.z

Syntax

C#
public class SalesforceConnectorProfileCredentials

The SalesforceConnectorProfileCredentials type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AccessToken System.String

Gets and sets the property AccessToken.

The credentials used to access protected Salesforce resources.

Public Property ClientCredentialsArn System.String

Gets and sets the property ClientCredentialsArn.

The secret manager ARN, which contains the client ID and client secret of the connected app.

Public Property JwtToken System.String

Gets and sets the property JwtToken.

A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.

Public Property OAuth2GrantType Amazon.Appflow.OAuth2GrantType

Gets and sets the property OAuth2GrantType.

Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.

You can specify one of the following values:

AUTHORIZATION_CODE

Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.

JWT_BEARER

Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.

The CLIENT_CREDENTIALS value is not supported for Salesforce.

Public Property OAuthRequest Amazon.Appflow.Model.ConnectorOAuthRequest

Gets and sets the property OAuthRequest.

The OAuth requirement needed to request security tokens from the connector endpoint.

Public Property RefreshToken System.String

Gets and sets the property RefreshToken.

The credentials used to acquire new access tokens.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5