AuthProviderTokenResponse Class

Stores the response from the AuthProviderPlugin.handleCallback method.

Namespace

Auth

AuthProviderTokenResponse Constructors

The following are constructors for AuthProviderTokenResponse.

AuthProviderTokenResponse(provider, oauthToken, oauthSecretOrRefreshToken, state)

Creates an instance of the AuthProviderTokenResponse class using the specified authentication provider, OAuth access token, OAuth secret or refresh token, and state for a custom authentication provider plug-in.

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 Properties

The following are properties for AuthProviderTokenResponse.

  • oauthSecretOrRefreshToken
    The OAuth secret or refresh token for the currently logged-in user.
  • oauthToken
    The OAuth access token.
  • provider
    The authentication provider.
  • state
    The state passed in to initiate the authentication request for the user.

oauthSecretOrRefreshToken

The OAuth secret or refresh token for the currently logged-in user.

Signature

public String oauthSecretOrRefreshToken {get; set;}

Property Value

Type: String

oauthToken

The OAuth access token.

Signature

public String oauthToken {get; set;}

Property Value

Type: String

provider

The authentication provider.

Signature

public String provider {get; set;}

Property Value

Type: String

state

The state passed in to initiate the authentication request for the user.

Signature

public String state {get; set;}

Property Value

Type: String