Android SDK Version
  • java.lang.Object
    • com.facebook.login.LoginResult

public class LoginResult
extends java.lang.Object
This class shows the results of a login operation.
Constructor Summary
Constructor and Description
LoginResult(AccessToken accessToken, java.util.Set<java.lang.String> recentlyGrantedPermissions, java.util.Set<java.lang.String> recentlyDeniedPermissions)
The constructor.
Method Summary
Modifier and TypeMethod and Description
AccessTokengetAccessToken()
Getter for the new access token.
java.util.Set<java.lang.String>getRecentlyDeniedPermissions()
Getter for the recently denied permissions.
java.util.Set<java.lang.String>getRecentlyGrantedPermissions()
Getter for the recently granted permissions.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

LoginResult

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

getAccessToken

public AccessToken getAccessToken()
Getter for the new access token.
Returns:
the new access token.

getRecentlyGrantedPermissions

public java.util.Set<java.lang.String> getRecentlyGrantedPermissions()
Getter for the recently granted permissions.
Returns:
the recently granted permissions.

getRecentlyDeniedPermissions

public java.util.Set<java.lang.String> getRecentlyDeniedPermissions()
Getter for the recently denied permissions.
Returns:
the recently denied permissions.