跳过内容

@capgo/capacitor-intune

Capacitor 为 Microsoft Intune MAM 注册、应用保护策略、应用配置和 MSAL 身份验证提供插件。

Capacitor 为 Microsoft Intune MAM 注册、应用保护策略、应用配置和 MSAL 身份验证提供插件。

核心功能

核心功能部分
  • acquireToken - 展示 Microsoft 登录流程并返回访问令牌及帐户元数据。
  • acquireTokenSilent - 从 MSAL 缓存中获取之前登录用户的令牌。
  • registerAndEnrollAccount - 使用 Intune 进行先前验证的帐户注册并开始注册。
  • loginAndEnrollAccount - 请 Intune 验证并为用户注册帐户,而无需先请求应用程序令牌。
方法描述
acquireToken呈现 Microsoft 登录流程并返回访问令牌及帐户元数据。
acquireTokenSilent从 MSAL 缓存中获取之前登录的用户的令牌。
registerAndEnrollAccount使用 Intune 注册先前验证的帐户并开始注册。
loginAndEnrollAccount请 Intune 验证并为用户注册帐户,而无需先请求应用程序令牌。
enrolledAccount返回当前已注册的 Intune 帐户,如果有的话。
deRegisterAndUnenrollAccount从 Intune 中注销帐户并触发适用范围的擦除。
logoutOfAccountSign the user out of MSAL without unenrolling the Intune account.
appConfig获取远程 Intune 应用程序配置
getPolicy获取当前有效的 Intune 应用程序保护策略
groupName便捷助手,解析 app 配置值 GroupName 返回本插件打包的原生 Intune 和 MSAL __CAPGO_KEEP_0__ 版本
sdkVersionReturn the native Intune and MSAL SDK versions bundled by this plugin.
displayDiagnosticConsole监听远程应用程序配置刷新
addListener监听远程应用程序保护策略刷新
addListener移除本插件实例注册的所有监听器
removeAllListeners真实数据来源

标题:真实数据来源

Section titled “Source Of Truth”

本参考文档是同步从 src/definitions.tscapacitor-persona.

从 @capgo/capacitor-intune 中继续

标题:从 @capgo/capacitor-intune 中继续

如果您正在使用 @capgo/capacitor-intune 来规划身份验证和帐户流程,连接它到 使用 @capgo/capacitor-intune for the native capability in Using @capgo/capacitor-intune, 在使用 @capgo/capacitor-intune 的原生能力中,使用 @capgo/capacitor-intune,中,使用 @capgo/capacitor-social-login,中实现的细节在 @capgo/capacitor-social-login, @capgo/capacitor-passkey 关于@capgo/capacitor-passkey的实现细节 @capgo/capacitor-native-biometric 关于@capgo/capacitor-native-biometric的实现细节 双因素认证 关于双因素认证的实现细节