Package com.microsoft.intune.mam.policy
Interface MAMComplianceManager
-
- All Implemented Interfaces:
public interface MAMComplianceManagerInterface for use by the app to integrate App CA with Policy Assurance support.
-
-
Method Summary
Modifier and Type Method Description abstract voidremediateCompliance(@NonNull() String upn, @NonNull() String aadId, @Nullable() String tenantId, @Nullable() String authority, boolean showUX)If an unmanaged app requests a token for an App CA with Policy Assurance protected resource, ADAL will return an error indicating that compliance with Intune policy protection is required. -
-
Method Detail
-
remediateCompliance
abstract void remediateCompliance(@NonNull() String upn, @NonNull() String aadId, @Nullable() String tenantId, @Nullable() String authority, boolean showUX)
If an unmanaged app requests a token for an App CA with Policy Assurance protected resource, ADAL will return an error indicating that compliance with Intune policy protection is required. At that point, the app should call this method to attempt to gain compliance. The status will be sent via notification, and if successful the app can attempt to acquire the token via ADAL again.
- Parameters:
upn- the UPN of the account.aadId- the AAD Id of the account.tenantId- the tenant id of the account.authority- the authority used to acquire tokens for the account.showUX- true to have the MAM SDK display a blocking UX while compliance is being remediated.
-
-
-
-