メインコンテンツにスキップ
プラグインに戻る
@capgo/capacitor-persona
チュートリアル
@capgo/capacitor-persona

Persona

iOS と Android のネイティブ SDK を使用して、Persona のアイデンティティ検証の問い合わせを起動します。

ガイド

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

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.