title | description | author | ms.service | ms.topic | ms.author | ms.date |
---|---|---|---|---|---|---|
class ConsentDelegate |
Documents the consentdelegate::undefined class of the Microsoft Information Protection (MIP) SDK. |
msmbaldwin |
information-protection |
reference |
mbaldwin |
11/15/2021 |
Delegate for consent related operations. This delegate is implemented by a client application to know when a consent request notification should be displayed to the user.
Members | Descriptions |
---|---|
public Consent GetUserConsent(const std::string& url) | Called when SDK requires user consent to connect to a service endpoint. |
Called when SDK requires user consent to connect to a service endpoint.
Parameters:
- url: The URL for which the SDK requires user consent
Returns: A Consent enum with the user's decision. 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.n.