public class NonCachingTokenCachingStrategy extends TokenCachingStrategy
TokenCachingStrategy that does not actually cache any tokens.
It is intended for use when an access token may be used on a temporary basis but should not be
cached for future use (for instance, when handling a deep link).EXPIRATION_DATE_KEY, LAST_REFRESH_DATE_KEY, PERMISSIONS_KEY, TOKEN_KEY, TOKEN_SOURCE_KEY, USER_FBID_KEY| Constructor and Description |
|---|
NonCachingTokenCachingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Called when a Session learns its token is no longer valid or during a
call to
closeAndClearTokenInformation to clear the durable state associated with
the token. |
android.os.Bundle |
load()
Called during Session construction to get the token state.
|
void |
save(android.os.Bundle bundle)
Called when a Session updates its token.
|
getExpirationDate, getExpirationMilliseconds, getLastRefreshDate, getLastRefreshMilliseconds, getPermissions, getSource, getToken, hasTokenInformation, putExpirationDate, putExpirationMilliseconds, putLastRefreshDate, putLastRefreshMilliseconds, putPermissions, putSource, putTokenpublic android.os.Bundle load()
TokenCachingStrategyload in class TokenCachingStrategypublic void save(android.os.Bundle bundle)
TokenCachingStrategysave in class TokenCachingStrategybundle - A Bundle that represents the token state to be saved.public void clear()
TokenCachingStrategycloseAndClearTokenInformation to clear the durable state associated with
the token.clear in class TokenCachingStrategyCopyright © 2013. All Rights Reserved.