Skip to content

msintuneappsdk/wagr

Repository files navigation

Wagr - MAM Sample App in Objective-C

A sample iOS app built in Objective-C that uses the MAM SDK and auth with MSAL

Table of contents

General info

This is an iOS app that is built with Objective-C. This app gives an example on how to implement MAM and MSAL in your app.

Technologies

  • MSAL - version 1.1.19
  • MAM - version 14.5.0

Setup

To run this app:s

  1. Register Wagr in your Azure portal
  2. Open Wagr.xcworkspace
  3. Open the Info.plist file and find 'IntuneMAMSettings' then change the ADALClientId, ADALRedirectUri, and ADALAuthority to your values
  4. Build the project to your device/simulator
  5. Run the app!

Features

List of MSAL and MAM features in the source code:

Note: Clicking on a link will take you to the folder/files that contains the listed feature. From there, search the name of the function in the right file to find the SDK/API calls

MSAL

MAM

  • Login (#pragma mark MAM Login - LoginViewController.m)
  • Logout (#pragma mark Deregister The Account - SettingsViewController.m)
  • Create MAM Delegates
    • Compliance Delegate (MAMComplianceDelegate.m)
    • Enrollment Delegate (MAMEnrollmentDelegate.m)
    • Policy Delegate (MAMPolicyDelegate.m)
  • Set MAM Delegates (#pragma mark - MAM Delegates - AppDelegate.m)
  • Save-To and Open-From (Follow the #pragma mark lines - SaveOpenPolicy.m)
  • MAM Diagnostic Console (onMAMDiagnosticConsoleBtnPressed - SettingsViewController.m)
  • MAM App Config (mamAppConfig - SettingsViewController.m)

Inspiration

Project inspired by the original Wagr. The original Wagr explored the capabilities of the Intune App Wrapping Tool.

About

Sample Object C Intune enabled application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published