Microsoft Information Protection (MIP) SDK for C++: Reference 1.16
Doxygen-generated documentation for MIP SDK written in C++
|
Settings used by FileProfile during its creation and throughout its lifetime. More...
#include <src/api/mip/file/file_profile.h>
Public Member Functions | |
bool | CanCacheLicenses () const |
Gets whether or not end user licenses (EULs) are cached locally. | |
CacheStorageType | GetCacheStorageType () const |
Get whether caches are stored in memory or on disk. | |
std::shared_ptr< ConsentDelegate > | GetConsentDelegate () const |
Gets the consent delegate used to request user consent connecting to services. | |
DnsRedirection | GetDnsRedirection () const |
Gets the dns redirect mode. | |
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. | |
std::shared_ptr< Observer > | GetObserver () const |
Gets the observer that receives notifications of events related to FileProfile. | |
const std::string & | GetSessionId () const |
Gets the session ID. | |
std::shared_ptr< TaskDispatcherDelegate > | GetTaskDispatcherDelegate () const |
Get the TaskDispatcher delegate (if any) provided by the application. | |
void | SetCanCacheLicenses (bool canCacheLicenses) |
Configures whether or not end user licenses (EULs) will be cached locally. | |
void | SetDnsRedirection (DnsRedirection dnsRedirection) |
Sets the dns redirection mode that controls how redirection is handled during online operations. | |
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) |
Sets the session ID. | |
void | SetTaskDispatcherDelegate (const std::shared_ptr< TaskDispatcherDelegate > &taskDispatcherDelegate) |
Override default asynchonous task dispatching handling with client's own. | |
Settings (const std::shared_ptr< MipContext > &mipContext, CacheStorageType cacheStorageType, std::shared_ptr< ConsentDelegate > consentDelegate, std::shared_ptr< Observer > observer) | |
FileProfile::Settings constructor. | |
Private Attributes | |
CacheStorageType | mCacheStorageType |
bool | mCanCacheLicenses |
std::shared_ptr< ConsentDelegate > | mConsentDelegate |
DnsRedirection | mDnsRedirection |
std::shared_ptr< HttpDelegate > | mHttpDelegate |
std::shared_ptr< void > | mLoggerContext |
std::shared_ptr< MipContext > | mMipContext |
std::shared_ptr< Observer > | mObserver |
std::string | mPath |
std::string | mSessionId |
std::shared_ptr< TaskDispatcherDelegate > | mTaskDispatcherDelegate |
Settings used by FileProfile during its creation and throughout its lifetime.
Definition at line 153 of file file_profile.h.
|
inline |
FileProfile::Settings constructor.
mipContext | Global context settings |
cacheStorageType | Store any cached state in memory or on disk |
consentDelegate | Delegate used to obtain user permission to access external resources |
observer | Observer instance that will receive notifications of events related to FileProfile |
Definition at line 163 of file file_profile.h.
|
inline |
Gets whether or not end user licenses (EULs) are cached locally.
Definition at line 275 of file file_profile.h.
References mCanCacheLicenses.
|
inline |
Get whether caches are stored in memory or on disk.
Definition at line 184 of file file_profile.h.
References mCacheStorageType.
|
inline |
Gets the consent delegate used to request user consent connecting to services.
Definition at line 191 of file file_profile.h.
References mConsentDelegate.
|
inline |
Gets the dns redirect mode.
Definition at line 302 of file file_profile.h.
References mDnsRedirection.
|
inline |
Get the HTTP delegate (if any) provided by the application.
Definition at line 212 of file file_profile.h.
References mHttpDelegate.
|
inline |
Get logger context that will be opaquely passed to the logger delegate for logs associated with the created profile.
Definition at line 285 of file file_profile.h.
References mLoggerContext.
|
inline |
Get MIP context which represents shared state across all profiles.
Definition at line 205 of file file_profile.h.
References mMipContext.
|
inline |
Gets the observer that receives notifications of events related to FileProfile.
Definition at line 198 of file file_profile.h.
References mObserver.
|
inline |
Gets the session ID.
Definition at line 254 of file file_profile.h.
References mSessionId.
|
inline |
Get the TaskDispatcher delegate (if any) provided by the application.
Definition at line 226 of file file_profile.h.
References mTaskDispatcherDelegate.
|
inline |
Configures whether or not end user licenses (EULs) will be cached locally.
canCacheLicenses | Whether or not engine should cache a license when opening protected content |
Definition at line 266 of file file_profile.h.
References mCanCacheLicenses.
|
inline |
Sets the dns redirection mode that controls how redirection is handled during online operations.
dnsRedirection | The redirection mode to use |
Definition at line 311 of file file_profile.h.
References mDnsRedirection.
|
inline |
Override default HTTP stack with client's own.
httpDelegate | HTTP callback interface implemented by client application |
Definition at line 219 of file file_profile.h.
References mHttpDelegate.
|
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 293 of file file_profile.h.
References mLoggerContext.
|
inline |
Sets the session ID.
sessionId | Session ID that will be used to correlate logs/telemetry |
Definition at line 245 of file file_profile.h.
References mSessionId.
|
inline |
Override default asynchonous task dispatching handling with client's own.
taskDispatcherDelegate | Task dispatching callback interface implemented by client application |
Definition at line 236 of file file_profile.h.
References mTaskDispatcherDelegate.
|
private |
Definition at line 318 of file file_profile.h.
Referenced by GetCacheStorageType().
|
private |
Definition at line 324 of file file_profile.h.
Referenced by CanCacheLicenses(), and SetCanCacheLicenses().
|
private |
Definition at line 319 of file file_profile.h.
Referenced by GetConsentDelegate().
|
private |
Definition at line 326 of file file_profile.h.
Referenced by GetDnsRedirection(), and SetDnsRedirection().
|
private |
Definition at line 322 of file file_profile.h.
Referenced by GetHttpDelegate(), and SetHttpDelegate().
|
private |
Definition at line 325 of file file_profile.h.
Referenced by GetLoggerContext(), and SetLoggerContext().
|
private |
Definition at line 316 of file file_profile.h.
Referenced by GetMipContext().
|
private |
Definition at line 320 of file file_profile.h.
Referenced by GetObserver().
|
private |
Definition at line 317 of file file_profile.h.
|
private |
Definition at line 321 of file file_profile.h.
Referenced by GetSessionId(), and SetSessionId().
|
private |
Definition at line 323 of file file_profile.h.
Referenced by GetTaskDispatcherDelegate(), and SetTaskDispatcherDelegate().