Android SDK Version


public class LoginResult
This class shows the results of a login operation.
Field Summary
Modifier and TypeFieldDescription
private final AccessTokenaccessToken
private final AuthenticationTokenauthenticationToken
private final Set<String>recentlyGrantedPermissions
private final Set<String>recentlyDeniedPermissions
Constructor Summary
ConstructorDescription
LoginResult(AccessToken accessToken, Set<String> recentlyGrantedPermissions, Set<String> recentlyDeniedPermissions)The constructor.
LoginResult(AccessToken accessToken, AuthenticationToken authenticationToken, Set<String> recentlyGrantedPermissions, Set<String> recentlyDeniedPermissions)The constructor.
Method Summary
Modifier and TypeMethodDescription
AccessTokengetAccessToken() Getter for the new access token.
AuthenticationTokengetAuthenticationToken() Getter for the new AuthenticationToken.
Set<String>getRecentlyGrantedPermissions() Getter for the recently granted permissions.
Set<String>getRecentlyDeniedPermissions() Getter for the recently denied permissions.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

LoginResult

LoginResult(AccessToken accessToken, Set<String> recentlyGrantedPermissions, Set<String> recentlyDeniedPermissions)
The constructor.
Parameters:
accessToken - The new access token.
recentlyGrantedPermissions - The recently granted permissions.
recentlyDeniedPermissions - The recently denied permissions.

LoginResult

LoginResult(AccessToken accessToken, AuthenticationToken authenticationToken, Set<String> recentlyGrantedPermissions, Set<String> recentlyDeniedPermissions)
The constructor.
Parameters:
accessToken - The new access token.
authenticationToken - The new authentication token
recentlyGrantedPermissions - The recently granted permissions.
recentlyDeniedPermissions - The recently denied permissions.
Method Detail

getAccessToken

AccessTokengetAccessToken()
Getter for the new access token.

getAuthenticationToken

AuthenticationTokengetAuthenticationToken()
Getter for the new AuthenticationToken.

getRecentlyGrantedPermissions

Set<String> getRecentlyGrantedPermissions()
Getter for the recently granted permissions.

getRecentlyDeniedPermissions

Set<String> getRecentlyDeniedPermissions()
Getter for the recently denied permissions.