Giter Club home page Giter Club logo

intune's Introduction

intune

A plugin for using Microsoft Intune within Capacitor iOS & Android apps

Install

npm install intune
npx cap sync

API

loginAndEnrollAccount(...)

loginAndEnrollAccount(options: { email: string; }) => Promise<void>
Param Type
options { email: string; }

registerAndEnrollAccount(...)

registerAndEnrollAccount(options: { email: string; }) => Promise<void>
Param Type
options { email: string; }

deRegisterAndUnenrollAccount(...)

deRegisterAndUnenrollAccount(options: { email: string; withWipe: boolean; }) => Promise<void>
Param Type
options { email: string; withWipe: boolean; }

deRegisterAndUnenrollAccountId(...)

deRegisterAndUnenrollAccountId(options: { accountId: string; withWipe: boolean; }) => Promise<void>
Param Type
options { accountId: string; withWipe: boolean; }

openIntuneConsole()

openIntuneConsole() => Promise<void>

getEnrolledAccount()

getEnrolledAccount() => Promise<{ account?: string; }>

Returns: Promise<{ account?: string; }>


getEnrolledAccountId()

getEnrolledAccountId() => Promise<{ accountId?: string; }>

Returns: Promise<{ accountId?: string; }>


getEnrolledAccountIds()

getEnrolledAccountIds() => Promise<{ accountIds: string[]; }>

Returns: Promise<{ accountIds: string[]; }>


isSupportedPlatform()

isSupportedPlatform() => Promise<{ supported: boolean; }>

Returns: Promise<{ supported: boolean; }>


addListener('enrollmentResult', ...)

addListener(eventName: "enrollmentResult", listenerFunc: (status: { identity: string; statusCode: number; didSucceed: boolean; errorString: string; }) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Param Type
eventName 'enrollmentResult'
listenerFunc (status: { identity: string; statusCode: number; didSucceed: boolean; errorString: string; }) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


Interfaces

PluginListenerHandle

Prop Type
remove () => Promise<void>

Follow all instructions in:

https://learn.microsoft.com/en-us/mem/intune/developer/app-sdk-ios-phase3

as instructed add

com.microsoft.intune.mam

Include each protocol that your app passes to UIApplication canOpenURL in the LSApplicationQueriesSchemes array of your app's Info.plist file. For each protocol listed in this array, a copy of the protocol appended with -

If your app doesn't use FaceID already, ensure the NSFaceIDUsageDescription Info.plist key is configured with a default message. This is required so iOS can let the user know how the app intends to use FaceID. An Intune app protection policy setting allows for FaceID to be used as a method for app access when configured by the IT admin.

intune's People

Contributors

macdja38 avatar

Stargazers

 avatar Shen Li avatar

Watchers

Samuel Cormier-Iijima avatar  avatar Miad Abrin avatar  avatar

Forkers

yann-combarnous

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.