Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
|
Settings used by PolicyProfile during its creation and throughout its lifetime. More...
#include <src/api/mip/upe/policy_profile.h>
Public Member Functions | |
CacheStorageType | GetCacheStorageType () const |
Get whether caches are stored in memory or on disk. | |
const std::vector< std::pair< std::string, std::string > > & | GetCustomSettings () const |
Get the custom settings, used for feature gating and testing. | |
std::shared_ptr< HttpDelegate > | GetHttpDelegate () const |
Get the HTTP delegate (if any) provided by the application. | |
const std::shared_ptr< void > & | GetLoggerContext () const |
Get logger context that will be opaquely passed to the logger delegate for logs associated with the created profile. | |
std::shared_ptr< MipContext > | GetMipContext () const |
Get MIP context which represents shared state across all profiles. | |
const std::shared_ptr< PolicyProfile::Observer > & | GetObserver () const |
Get the event observer. | |
const std::string & | GetSessionId () const |
std::shared_ptr< StorageDelegate > | GetStorageDelegate () const |
Get the StorageDelegate (if any) provided by the application. | |
std::shared_ptr< TaskDispatcherDelegate > | GetTaskDispatcherDelegate () const |
Get the TaskDispatcher delegate (if any) provided by the application. | |
void | SetCustomSettings (const std::vector< std::pair< std::string, std::string > > &customSettings) |
Set the custom settings, used for feature gating and testing. | |
void | SetHttpDelegate (const std::shared_ptr< HttpDelegate > &httpDelegate) |
Override default HTTP stack with client's own. | |
void | SetLoggerContext (const std::shared_ptr< void > &loggerContext) |
Sets the logger context that will be opaquely passed to the logger delegate for logs associated with the created profile. | |
void | SetSessionId (const std::string &sessionId) |
void | SetStorageDelegate (const std::shared_ptr< StorageDelegate > &storageDelegate) |
Override default storage cache with client's own implementation. | |
void | SetTaskDispatcherDelegate (const std::shared_ptr< TaskDispatcherDelegate > &taskDispatcherDelegate) |
Override default asynchronous task dispatching handling with client's own. | |
Settings (const std::shared_ptr< MipContext > &mipContext, CacheStorageType cacheStorageType, const std::shared_ptr< PolicyProfile::Observer > &observer) | |
Interface for configuring the profile. | |
Settings used by PolicyProfile during its creation and throughout its lifetime.
Definition at line 192 of file policy_profile.h.
|
inline |
Interface for configuring the profile.
mipContext | Global context settings |
cacheStorageType | Store any cached state in memory or on disk |
observer | A class implementing the PolicyProfile::Observer interface. Can be nullptr. |
Definition at line 201 of file policy_profile.h.
|
inline |
Get whether caches are stored in memory or on disk.
Definition at line 214 of file policy_profile.h.
|
inline |
Get the custom settings, used for feature gating and testing.
Definition at line 299 of file policy_profile.h.
|
inline |
Get the HTTP delegate (if any) provided by the application.
Definition at line 235 of file policy_profile.h.
|
inline |
Get logger context that will be opaquely passed to the logger delegate for logs associated with the created profile.
Definition at line 308 of file policy_profile.h.
|
inline |
Get MIP context which represents shared state across all profiles.
Definition at line 228 of file policy_profile.h.
|
inline |
Get the event observer.
Definition at line 221 of file policy_profile.h.
|
inline |
Definition at line 281 of file policy_profile.h.
|
inline |
Get the StorageDelegate (if any) provided by the application.
Definition at line 249 of file policy_profile.h.
|
inline |
Get the TaskDispatcher delegate (if any) provided by the application.
Definition at line 263 of file policy_profile.h.
|
inline |
Set the custom settings, used for feature gating and testing.
customSettings | List of name/value pairs. |
Definition at line 290 of file policy_profile.h.
|
inline |
Override default HTTP stack with client's own.
httpDelegate | Http callback interface implemented by client application |
Definition at line 242 of file policy_profile.h.
|
inline |
Sets the logger context that will be opaquely passed to the logger delegate for logs associated with the created profile.
loggerContext | The logger context |
Definition at line 316 of file policy_profile.h.
|
inline |
Definition at line 277 of file policy_profile.h.
|
inline |
Override default storage cache with client's own implementation.
storageDelegate | StorageDelegate implemented by client application |
Definition at line 256 of file policy_profile.h.
|
inline |
Override default asynchronous task dispatching handling with client's own.
taskDispatcherDelegate | Task dispatching callback interface implemented by client application |
Definition at line 273 of file policy_profile.h.