Token Revocation Events
When a token revocation event occurs, the ClientManager
object sends an Android-style notification. The intent action for this notification is declared in the ClientManager.ACCESS_TOKEN_REVOKE_INTENT
constant.
SalesforceActivity.java
, SalesforceListActivity.java
, SalesforceExpandableListActivity.java
, and SalesforceDroidGapActivity.java
implement ACCESS_TOKEN_REVOKE_INTENT
event listeners. These listeners automatically take logged out users to the login page when the refresh token is revoked. A toast message notifies the user of this occurrence.