/AWS1/CL_APFSALESFORCECNCTOR01¶
The connector-specific profile credentials required when using Salesforce.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_accesstoken
TYPE /AWS1/APFACCESSTOKEN
/AWS1/APFACCESSTOKEN
¶
The credentials used to access protected Salesforce resources.
iv_refreshtoken
TYPE /AWS1/APFREFRESHTOKEN
/AWS1/APFREFRESHTOKEN
¶
The credentials used to acquire new access tokens.
io_oauthrequest
TYPE REF TO /AWS1/CL_APFCNCTOROAUTHREQUEST
/AWS1/CL_APFCNCTOROAUTHREQUEST
¶
The OAuth requirement needed to request security tokens from the connector endpoint.
iv_clientcredentialsarn
TYPE /AWS1/APFCLIENTCREDENTIALSARN
/AWS1/APFCLIENTCREDENTIALSARN
¶
The secret manager ARN, which contains the client ID and client secret of the connected app.
iv_oauth2granttype
TYPE /AWS1/APFOAUTH2GRANTTYPE
/AWS1/APFOAUTH2GRANTTYPE
¶
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.
iv_jwttoken
TYPE /AWS1/APFJWTTOKEN
/AWS1/APFJWTTOKEN
¶
A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.
Queryable Attributes¶
accessToken¶
The credentials used to access protected Salesforce resources.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ACCESSTOKEN() |
Getter for ACCESSTOKEN, with configurable default |
ASK_ACCESSTOKEN() |
Getter for ACCESSTOKEN w/ exceptions if field has no value |
HAS_ACCESSTOKEN() |
Determine if ACCESSTOKEN has a value |
refreshToken¶
The credentials used to acquire new access tokens.
Accessible with the following methods¶
Method | Description |
---|---|
GET_REFRESHTOKEN() |
Getter for REFRESHTOKEN, with configurable default |
ASK_REFRESHTOKEN() |
Getter for REFRESHTOKEN w/ exceptions if field has no value |
HAS_REFRESHTOKEN() |
Determine if REFRESHTOKEN has a value |
oAuthRequest¶
The OAuth requirement needed to request security tokens from the connector endpoint.
Accessible with the following methods¶
Method | Description |
---|---|
GET_OAUTHREQUEST() |
Getter for OAUTHREQUEST |
clientCredentialsArn¶
The secret manager ARN, which contains the client ID and client secret of the connected app.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CLIENTCREDENTIALSARN() |
Getter for CLIENTCREDENTIALSARN, with configurable default |
ASK_CLIENTCREDENTIALSARN() |
Getter for CLIENTCREDENTIALSARN w/ exceptions if field has n |
HAS_CLIENTCREDENTIALSARN() |
Determine if CLIENTCREDENTIALSARN has a value |
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.
Accessible with the following methods¶
Method | Description |
---|---|
GET_OAUTH2GRANTTYPE() |
Getter for OAUTH2GRANTTYPE, with configurable default |
ASK_OAUTH2GRANTTYPE() |
Getter for OAUTH2GRANTTYPE w/ exceptions if field has no val |
HAS_OAUTH2GRANTTYPE() |
Determine if OAUTH2GRANTTYPE has a value |
jwtToken¶
A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.
Accessible with the following methods¶
Method | Description |
---|---|
GET_JWTTOKEN() |
Getter for JWTTOKEN, with configurable default |
ASK_JWTTOKEN() |
Getter for JWTTOKEN w/ exceptions if field has no value |
HAS_JWTTOKEN() |
Determine if JWTTOKEN has a value |