AccountKitLoginResult
最新版本的 SDK 已不再提供此課程。
實作Parcelable
套件:accountkit
執行個體方法
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.
常數
RESULT_KEY
public static final String RESULT_KEY