RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
rmsauth::FileCache Class Reference
Inheritance diagram for rmsauth::FileCache:
rmsauth::TokenCache rmsauth::FileCacheEncrypted

Public Member Functions

 FileCache (const String &filePath="")
 
void clear () override
 
- Public Member Functions inherited from rmsauth::TokenCache
 TokenCache (const ByteArray &state)
 
bool hasStateChanged () const
 
void hasStateChanged (const bool val)
 
int count () const
 
ByteArray serialize ()
 
void deserialize (const ByteArray &state)
 
virtual List< TokenCacheItemPtr > readItems ()
 
virtual void deleteItem (TokenCacheItemPtr item)
 
virtual void onBeforeWrite (const TokenCacheNotificationArgs &)
 
AuthenticationResultPtr loadFromCache (const String &authority, const String &resource, const String &clientId, TokenSubjectType subjectType, const String &uniqueId, CallStatePtr callState)
 
void storeToCache (AuthenticationResultPtr result, const String &authority, const String &resource, const String &clientId, TokenSubjectType subjectType, CallStatePtr callState)
 
void updateCachedMrrtRefreshTokens (AuthenticationResultPtr result, const String &authority, const String &clientId, TokenSubjectType subjectType)
 
TokenCacheItemPtr loadSingleItemFromCache (const String &authority, const String &resource, const String &clientId, TokenSubjectType subjectType, const String &uniqueId, CallStatePtr callState)
 
List< TokenCacheItemPtr > queryCache (const String &authority, const String &clientId, TokenSubjectType subjectType, const String &uniqueId)
 

Protected Member Functions

virtual void readCache ()
 
virtual void writeCache ()
 

Static Protected Member Functions

static const String Tag ()
 

Protected Attributes

String cacheFilePath_
 
- Protected Attributes inherited from rmsauth::TokenCache
volatile bool hasStateChanged_ = false
 

Static Protected Attributes

static Mutex fileLock_
 

Additional Inherited Members

- Static Public Member Functions inherited from rmsauth::TokenCache
static TokenCachedefaultShared ()
 

The documentation for this class was generated from the following file: