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

Public Member Functions

 FileCacheEncrypted (const String &filePath="")
 
- Public Member Functions inherited from rmsauth::FileCache
 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 () override
 
virtual void writeCache () override
 

Additional Inherited Members

- Static Public Member Functions inherited from rmsauth::TokenCache
static TokenCachedefaultShared ()
 
- Static Protected Member Functions inherited from rmsauth::FileCache
static const String Tag ()
 
- Protected Attributes inherited from rmsauth::FileCache
String cacheFilePath_
 
- Protected Attributes inherited from rmsauth::TokenCache
volatile bool hasStateChanged_ = false
 
- Static Protected Attributes inherited from rmsauth::FileCache
static Mutex fileLock_
 

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