AuthProviderTokenResponse Class
Stores the response from the AuthProviderPlugin.handleCallback method.
The following are constructors for AuthProviderTokenResponse.
-
AuthProviderTokenResponse(provider, oauthToken, oauthSecretOrRefreshToken, state)
Creates an instance of the
AuthProviderTokenResponseclass for a custom authentication provider plug-in using the specified arguments. -
AuthProviderTokenResponse(provider, oauthToken, oauthSecretOrRefreshToken, state, idToken)
Creates an instance of the AuthProviderTokenResponse class for a custom authentication provider plug-in using the specified arguments. This constructor includes a parameter for the ID token.
Creates an instance of the AuthProviderTokenResponse class for a custom authentication provider plug-in using the specified arguments.
public AuthProviderTokenResponse(String provider, String oauthToken, String oauthSecretOrRefreshToken, String state)
-
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.
Creates an instance of the AuthProviderTokenResponse class for a custom authentication provider plug-in using the specified arguments. This constructor includes a parameter for the ID token.
public AuthProviderTokenResponse(String provider, String oauthToken, String oauthSecretOrRefreshToken, String state, String idToken)
- 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.
The following are properties for AuthProviderTokenResponse.
-
The OAuth secret or refresh token for the currently logged-in user.
-
The OAuth access token.
-
The authentication provider.
-
The state passed in to initiate the authentication request for the user.
-
The ID token from the third party in encoded JWT format.
The OAuth secret or refresh token for the currently logged-in user.
public String oauthSecretOrRefreshToken {get; set;}
Type: String
The OAuth access token.
public String oauthToken {get; set;}
Type: String
The authentication provider.
public String provider {get; set;}
Type: String
The state passed in to initiate the authentication request for the user.
public String state {get; set;}
Type: String
The ID token from the third party in encoded JWT format.
public String idToken {get; set;}
Type: String