ガイド
インチューンのチュートリアル
capgo/capacitor-インチューン
Capacitorのインチューンプラグイン
インストール
bun add @capgo/capacitor-intune
bunx cap sync
このプラグインが提供するもの
acquireToken- Microsoftサインインフローを提示し、トークンとアカウントメタデータを返します。acquireTokenSilent- MSALキャッシュから以前のユーザーがサインインした場合にトークンを取得します。registerAndEnrollAccount- インチューンに以前認証されたアカウントを登録し、エンロールを開始します。loginAndEnrollAccount- 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にユーザーを認証して登録するように求めますが、アプリトークンを事前に要求する必要はありません。
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.loginAndEnrollAccount();
Full Reference
- GitHub: https://github.com/Cap-go/capacitor-intune/
- Docs: /docs/plugins/intune/
Using @capgo/capacitor-intuneから続けてください。
Intuneを使用している場合 Using @capgo/capacitor-intune 認証とアカウントフローの計画、@Capacitor-Intuneと接続 @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.