Interface MAMComplianceManager

  • All Implemented Interfaces:

    
    public interface MAMComplianceManager
    
                        

    Interface for use by the app to integrate App CA with Policy Assurance support.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.