AccountKitLoginResult
This class is no longer available in the most recent version of the SDK.
Implements:Parcelable
Package:accountkit
Instance Methods
getAccessToken()

Gets the access token from the login request.

public AccessToken getAccessToken()
Returns
An access token if one was retrieved else null.
getAuthorizationCode()

Gets the authorization code returned from the login request.

public String getAuthorizationCode()
Returns
An authorization code if was was retrieved else null.
getError()

Gets the error.

public AccountKitError getError()
Returns
An error if one occured else null.
getFinalAuthorizationState()

Gets the final authorization state.

public String getFinalAuthorizationState()
Returns
The final authorization state.
getTokenRefreshIntervalInSeconds()
public long getTokenRefreshIntervalInSeconds()
Returns
Frequency, in seconds at which the access token should be refreshed (by calling getCurrentAccount in order to avoid it expiring
wasCancelled()

Gets a value indicating whether the login flow as cancelled by the user.

public boolean wasCancelled()
Returns
True if login flow as cancelled else false.
Constants
RESULT_KEY
public static final String RESULT_KEY