Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
ConsentDelegate Class Referenceabstract

Delegate for consent related operations. More...

#include <src/api/mip/common_types.h>

Public Member Functions

virtual Consent GetUserConsent (const std::string &url)=0
 Called when SDK requires user consent to connect to a service endpoint.
 

Detailed Description

Delegate for consent related operations.

Note
This delegate is implemented by a client application to know when a consent request notification should be displayed to the user.

Definition at line 496 of file common_types.h.

Member Function Documentation

◆ GetUserConsent()

virtual Consent ConsentDelegate::GetUserConsent ( const std::string & url)
pure virtual

Called when SDK requires user consent to connect to a service endpoint.

Parameters
urlThe URL for which the SDK requires user consent
Returns
a Consent enum with the user's decision.
Note
When the SDK requests user consent with this method, the client application should present the URL to the user. Client applications should provide some means of obtaining user consent and return the appropriate Consent enum that corresponds to the user's decision.

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