AuthScheme Parameter (Connect-SalesforceDataCloud Cmdlet)
The type of authentication to use when connecting to Salesforce Data Cloud.
Syntax
Connect-SalesforceDataCloud -AuthScheme string
Possible Values
OAuth, OAuthClient, OAuthPassword, OAuthJWT, OAuthPKCEData Type
cstr
Default Value
"OAuth"
Remarks
- OAuth: Set this to perform OAuth with the code grant type.
- OAuthClient: Set this to perform OAuth with the client grant type.
- OAuthPassword: Set this to perform OAuth with the password grant type.
- OAuthJWT: Set this to perform OAuth authentication with a JWT certificate. Requires the following additional connection properties. [OAuthJWTCert,/OAuthJWTCertType/OAuthJWTCertPassword/OAuthJWTCertSubject/OAuthJWTIssuer/OAuthJWTSubject]
- OAuthPKCE: Set this to use the Proof Key of Code Exchange (PKCE) extension of the standard OAuth 2.0 flow. Either set your own PKCEVerifier or, if no verifier is specified, the cmdlet automatically generates one for you.
This is a required parameter.