Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
|
Settings used by FileProfile during its creation and throughout its lifetime. More...
#include <file_profile.h>
Public Member Functions | |
Settings (const std::shared_ptr< MipContext > &mipContext, CacheStorageType cacheStorageType, std::shared_ptr< ConsentDelegate > consentDelegate, std::shared_ptr< Observer > observer) | |
FileProfile::Settings constructor. | |
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. | |
std::shared_ptr< Observer > | GetObserver () const |
Gets the observer that receives notifications of events related to FileProfile. | |
std::shared_ptr< MipContext > | GetMipContext () const |
Get MIP context which represents shared state across all profiles. | |
std::shared_ptr< HttpDelegate > | GetHttpDelegate () const |
Get the HTTP delegate (if any) provided by the application. | |
void | SetHttpDelegate (const std::shared_ptr< HttpDelegate > &httpDelegate) |
Override default HTTP stack with client's own. | |
std::shared_ptr< TaskDispatcherDelegate > | GetTaskDispatcherDelegate () const |
Get the TaskDispatcher delegate (if any) provided by the application. | |
void | SetTaskDispatcherDelegate (const std::shared_ptr< TaskDispatcherDelegate > &taskDispatcherDelegate) |
Override default asynchonous task dispatching handling with client's own. | |
void | SetSessionId (const std::string &sessionId) |
Sets the session ID. | |
const std::string & | GetSessionId () const |
Gets the session ID. | |
void | SetCanCacheLicenses (bool canCacheLicenses) |
Configures whether or not end user licenses (EULs) will be cached locally. | |
bool | CanCacheLicenses () const |
Gets whether or not end user licenses (EULs) are cached locally. | |
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. | |
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. | |
DnsRedirection | GetDnsRedirection () const |
Gets the dns redirect mode. | |
void | SetDnsRedirection (DnsRedirection dnsRedirection) |
Sets the dns redirection mode that controls how redirection is handled during online operations. | |
Private Attributes | |
std::shared_ptr< MipContext > | mMipContext |
std::string | mPath |
CacheStorageType | mCacheStorageType |
std::shared_ptr< ConsentDelegate > | mConsentDelegate |
std::shared_ptr< Observer > | mObserver |
std::string | mSessionId |
std::shared_ptr< HttpDelegate > | mHttpDelegate |
std::shared_ptr< TaskDispatcherDelegate > | mTaskDispatcherDelegate |
bool | mCanCacheLicenses |
std::shared_ptr< void > | mLoggerContext |
DnsRedirection | mDnsRedirection |
Settings used by FileProfile during its creation and throughout its lifetime.
|
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 |
|
inline |
Gets whether or not end user licenses (EULs) are cached locally.
|
inline |
Get whether caches are stored in memory or on disk.
|
inline |
Gets the consent delegate used to request user consent connecting to services.
|
inline |
Gets the dns redirect mode.
|
inline |
Get the HTTP delegate (if any) provided by the application.
|
inline |
Get logger context that will be opaquely passed to the logger delegate for logs associated with the created profile.
|
inline |
Get MIP context which represents shared state across all profiles.
|
inline |
Gets the observer that receives notifications of events related to FileProfile.
|
inline |
Gets the session ID.
|
inline |
Get the TaskDispatcher delegate (if any) provided by the application.
|
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 |
|
inline |
Sets the dns redirection mode that controls how redirection is handled during online operations.
dnsRedirection | The redirection mode to use |
|
inline |
Override default HTTP stack with client's own.
httpDelegate | HTTP callback interface implemented by client application |
|
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 |
|
inline |
Sets the session ID.
sessionId | Session ID that will be used to correlate logs/telemetry |
|
inline |
Override default asynchonous task dispatching handling with client's own.
taskDispatcherDelegate | Task dispatching callback interface implemented by client application |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |