Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
AuthProviderTokenResponse Class
Namespace
AuthProviderTokenResponse Constructors
The following are constructors for AuthProviderTokenResponse.
AuthProviderTokenResponse(provider, oauthToken, oauthSecretOrRefreshToken, state)
Signature
public AuthProviderTokenResponse(String provider, String oauthToken, String oauthSecretOrRefreshToken, String state)
Parameters
-
provider:
Type: String
The custom authentication provider.
-
oauthToken:
Type: String
The OAuth access token.
-
oauthSecretOrRefreshToken:
Type: String
The OAuth secret or refresh token for the currently logged-in user.
-
state:
Type: String
The state passed in to initiate the authentication request for the user.
AuthProviderTokenResponse(provider, oauthToken, oauthSecretOrRefreshToken, state, idToken)
Signature
public AuthProviderTokenResponse(String provider, String oauthToken, String oauthSecretOrRefreshToken, String state, String idToken)
Parameters
- provider: Type: String The custom authentication provider.
- oauthToken: Type: String The OAuth access token.
- oauthSecretOrRefreshToken: Type: String The OAuth secret or refresh token for the currently logged-in user.
- state: Type: String The state passed in to initiate the authentication request for the user.
- idToken: Type: String The ID token in encoded JWT format.
AuthProviderTokenResponse Properties
The following are properties for AuthProviderTokenResponse.
oauthSecretOrRefreshToken
Signature
public String oauthSecretOrRefreshToken {get; set;}
Property Value
Type: String
idToken
Signature
public String idToken {get; set;}
Property Value
Type: String