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

Public Member Functions

 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 clear ()
 
virtual void onAfterAccess (const TokenCacheNotificationArgs &)
 
virtual void onBeforeAccess (const TokenCacheNotificationArgs &)
 
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)
 
virtual const String getCacheName () const
 

Static Public Member Functions

static TokenCachedefaultShared ()
 

Protected Attributes

volatile bool hasStateChanged_ = false
 

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