Accela SDK for iOS  V3.0
AMTokenCachingStrategy Class Reference

List of all members.

Public Member Functions

(id) - init
(id) - initWithUserDefaultTokenInformationKeyName:
(void) - cacheTokenInformation:
(NSDictionary *) - fetchTokenInformation
(void) - clearToken

Static Public Member Functions

(AMTokenCachingStrategy *) + defaultInstance
(BOOL) + isValidTokenInformation:

Member Function Documentation

- (void) cacheTokenInformation: (NSDictionary *)  tokenInformation

Cache token info

Since:
2.3
- (NSDictionary*) fetchTokenInformation

Load existing token info

return dictionary

Since:
2.3
- (id) init

Initializes and returns an instance

Since:
2.3
- (id) initWithUserDefaultTokenInformationKeyName: (NSString *)  tokenInformationKeyName

Initializes and returns an instance

Parameters:
tokenInformationKeyNameSpecifies a key name to use for cached token information in NSUserDefaults, nil indicates a default value of "AMAccessTokenInformationKey"
Since:
2.3
+ (BOOL) isValidTokenInformation: (NSDictionary *)  tokenInformation

Helper function called by the SDK as well as application code, used to determine whether a given dictionary contains the minimum token information.

Parameters:
tokenInformationDictionary containing token information to be validated
Since:
2.3

The documentation for this class was generated from the following file:
 All Classes Functions Properties