ガイド
Intuneのチュートリアル
Using @capgo/capacitor-intune
Capacitor plugin for Microsoft Intune MAM enrollment, app protection policies, app config, and MSAL authentication.
このプラグインが提供するもの
bun add @capgo/capacitor-intune
bunx cap sync
- Microsoftのサインインフローを提示し、トークンとアカウントメタデータを返します。
acquireToken- MSALキャッシュから以前サインインしたユーザーのトークンを取得します。acquireTokenSilent- Intuneに以前認証されたアカウントを登録し、エンロールを開始します。registerAndEnrollAccount__CAPGO_KEEP_0__プラグインはMicrosoft Intune MAMエンロール、App Protection Policies、App Config、およびMSAL認証のために使用されます。loginAndEnrollAccount- Intune におけるユーザーの認証とエンロールを要求する前に、アプリケーション トークンを要求しなくても、Intune におけるユーザーの認証とエンロールを要求するようにします。
Example Usage
acquireToken
Microsoft のサインイン フローを表示し、アクセス トークンとアカウント メタデータを返します。
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.acquireToken({} as AcquireTokenOptions);
acquireTokenSilent
以前サインインしたユーザーから MSAL キャッシュからトークンを取得します。
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.acquireTokenSilent({} as AcquireTokenSilentOptions);
registerAndEnrollAccount
Intune における以前認証されたアカウントを登録し、エンロールを開始します。
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.registerAndEnrollAccount({} as RegisterAndEnrollAccountOptions);
loginAndEnrollAccount
Intune におけるユーザーの認証とエンロールを要求する前に、アプリケーション トークンを要求しなくても、Intune におけるユーザーの認証とエンロールを要求するようにします。
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.loginAndEnrollAccount();
Full Reference
- GitHub: https://github.com/Cap-go/capacitor-intune/
- Docs: /docs/plugins/intune/
Keep going from Using @capgo/capacitor-intune
If you are using Using @capgo/capacitor-intune 認証とアカウントフローの計画、Cloudflareの接続 @capgo/capacitor-intune for the implementation detail in @capgo/capacitor-intune, Getting Started Getting Startedの実装詳細 @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-social-login, @capgo/capacitor-passkey for the implementation detail in @capgo/capacitor-passkey, and @capgo/capacitor-native-biometric for the implementation detail in @capgo/capacitor-native-biometric.