Langsung ke konten

@capgo/capacitor-intune

Capacitor plugin for Microsoft Intune MAM enrollment, app protection policies, app config, and MSAL authentication.

Capacitor plugin for Microsoft Intune MAM enrollment, app protection policies, app config, and MSAL authentication.

  • acquireToken - Present the Microsoft sign-in flow and return an access token plus the account metadata.
  • acquireTokenSilent - Acquire a token from the MSAL cache for a previously signed-in user.
  • registerAndEnrollAccount - Register a previously authenticated account with Intune and start enrollment.
  • loginAndEnrollAccount - Ask Intune to authenticate and enroll a user without first requesting an app token.
MethodDescription
acquireTokenPresent the Microsoft sign-in flow and return an access token plus the account metadata.
acquireTokenSilentAcquire a token from the MSAL cache for a previously signed-in user.
registerAndEnrollAccountRegister a previously authenticated account with Intune and start enrollment.
loginAndEnrollAccountAsk Intune to authenticate and enroll a user without first requesting an app token.
enrolledAccountReturn the currently enrolled Intune account, if one is available.
deRegisterAndUnenrollAccountDeregister the account from Intune and trigger selective wipe when applicable.
logoutOfAccountSign the user out of MSAL without unenrolling the Intune account.
appConfigFetch the remote Intune app configuration for a managed account.
getPolicyFetch the currently effective Intune app protection policy for a managed account.
groupNameConvenience helper that resolves the GroupName app configuration value when present.
sdkVersionReturn the native Intune and MSAL SDK versions bundled by this plugin.
displayDiagnosticConsoleShow the native Intune diagnostics UI.
addListenerListen for remote app configuration refreshes.
addListenerListen for remote app protection policy refreshes.
removeAllListenersRemove all registered listeners for this plugin instance.

This reference is synced from src/definitions.ts in capacitor-persona.