SharedPreferencesTokenCachingStrategy
This class is no longer available in the most recent version of the SDK.
A more recent version of this class is available. Check out the latest version.
Extends:TokenCachingStrategy
Package:facebook
Constructors
SharedPreferencesTokenCachingStrategy(Context)

Creates a default SharedPreferencesTokenCachingStrategy instance that provides access to a single set of token information.

public SharedPreferencesTokenCachingStrategy(Context context)
ParameterDescription
contextThe Context object to use to get the SharedPreferences object.
SharedPreferencesTokenCachingStrategy(Context, String)

Creates a SharedPreferencesTokenCachingStrategy instance that is distinct for the passed in cacheKey.

public SharedPreferencesTokenCachingStrategy(Context context, String cacheKey)
ParameterDescription
contextThe Context object to use to get the SharedPreferences object.
cacheKeyIdentifies a distinct set of token information.