Newer Version Available
OAuthRefreshResult Class
Stores the result of an AuthProviderPluginClass
refresh method. OAuth authentication flow provides a refresh token that can be used to get a new
access token. Access tokens have a limited lifetime as specified by the session timeout value.
When an access token expires, use a refresh token to get a new access token.
Namespace
Usage
The OAuthRefreshResult class contains the parameters, accessToken, refreshToken, and error, all of which are of type string. For a code example, see .
OAuthRefreshResult Constructors
The following are constructors for OAuthRefreshResult.
OAuthRefreshResult(accessToken, refreshToken, error)
OAuthRefreshResult(accessToken, refreshToken)
OAuthRefreshResult Properties
The following are properties for OAuthRefreshResult.
error
Error that occurs when a user unsuccessfully attempts to authenticate
with the custom authentication provider.
Signature
public String error {get; set;}
Property Value
Type: String