Package com.restfb

Class FacebookClient.DebugTokenInfo

    • Method Detail

      • getAppId

        public String getAppId()
        The application id.
        Returns:
        The id of the application.
      • getApplication

        public String getApplication()
        The application name.
        Returns:
        The name of the application.
      • getExpiresAt

        public Date getExpiresAt()
        The date on which the access token expires.
        Returns:
        The date on which the access token expires.
      • getDataAccessExpiresAt

        public Date getDataAccessExpiresAt()
        Timestamp when app's access to user data expires.
        Returns:
        The date when app's access to user data expires.
      • getIssuedAt

        public Date getIssuedAt()
        The date on which the access token was issued.
        Returns:
        The date on which the access token was issued.
      • isValid

        public Boolean isValid()
        Whether or not the token is valid.
        Returns:
        Whether or not the token is valid.
      • getScopes

        public List<StringgetScopes()
        List of scopes the access token 'contains'
        Returns:
        list of scopes
      • getMetaData

        public JsonObject 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