Package com.restfb
Class FacebookClient.DebugTokenInfo
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.FacebookClient.DebugTokenInfo
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- FacebookClient
Represents the result of a FacebookClient.debugToken(String)
inquiry.
- Author:
- Broc Seib
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAppId()
The application id.The application name.Timestamp when app's access to user data expires.All Error data associated with access token debug.The date on which the access token expires.The date on which the access token was issued.General metadata associated with the access token.List of scopes the access token 'contains'getType()
The user id.isValid()
Whether or not the token is valid.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
DebugTokenInfo
public DebugTokenInfo()
-
-
Method Details
-
getAppId
The application id.- Returns:
- The id of the application.
-
getApplication
The application name.- Returns:
- The name of the application.
-
getExpiresAt
The date on which the access token expires.- Returns:
- The date on which the access token expires.
-
getDataAccessExpiresAt
Timestamp when app's access to user data expires.- Returns:
- The date when app's access to user data expires.
-
getIssuedAt
The date on which the access token was issued.- Returns:
- The date on which the access token was issued.
-
isValid
Whether or not the token is valid.- Returns:
- Whether or not the token is valid.
-
getUserId
The user id.- Returns:
- The user id.
-
getScopes
List of scopes the access token 'contains'- Returns:
- list of scopes
-
getMetaData
General metadata associated with the access token. Can contain data like 'sso', 'auth_type', 'auth_nonce'- Returns:
- General metadata associated with the access token
-
getDebugTokenError
All Error data associated with access token debug.- Returns:
- debug token error
-
getType
-