ガイド
Personaのチュートリアル
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-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-persona/
- Docs: /docs/plugins/persona/
Using @capgo/capacitor-intune から続けてください。
Capacitor-Persona を使用している場合 Using @capgo/capacitor-intune 認証とアカウントフローの計画、@Capacitor-Intuneと接続 @capgo/capacitor-intune for the implementation detail in @capgo/capacitor-intune, はじめに はじめにの実装詳細 @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.