시작
이 플러그인에 대한 설치 단계와 전체 마크다운 가이드를 포함한 설정 프롬프트를 복사하십시오.
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-intune`, `@capgo/capacitor-persona`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/persona/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
AI-Assisted Setup을 사용하여 플러그인을 설치할 수 있습니다. AI 도구에 Capgo 스킬을 추가하려면 다음 명령어를 사용하세요.
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins그런 다음 다음 프롬프트를 사용하세요.
Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-intune` plugin in my project.Copy to clipboard
bun add @capgo/capacitor-intunebunx cap syncCopy to clipboard
Importimport { IntuneMAM } from '@capgo/capacitor-intune';API Overview
API 개요acquireToken
‘__CAPGO_KEEP_0__ 개요’라는 제목의 섹션‘acquireToken’이라는 제목의 섹션
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.acquireToken({} as AcquireTokenOptions);acquireTokenSilent
__CAPGO_KEEP_0____CAPGO_KEEP_1__
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.acquireTokenSilent({} as AcquireTokenSilentOptions);registerAndEnrollAccount
__CAPGO_KEEP_3____CAPGO_KEEP_4__
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.registerAndEnrollAccount({} as RegisterAndEnrollAccountOptions);loginAndEnrollAccount
__CAPGO_KEEP_6____CAPGO_KEEP_7__
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.loginAndEnrollAccount();enrolledAccount
__CAPGO_KEEP_9____CAPGO_KEEP_10__
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.enrolledAccount();deRegisterAndUnenrollAccount
__CAPGO_KEEP_0____CAPGO_KEEP_1__
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.deRegisterAndUnenrollAccount({} as IntuneMAMUser);logoutOfAccount
__CAPGO_KEEP_0____CAPGO_KEEP_3__
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.logoutOfAccount({} as IntuneMAMUser);appConfig
__CAPGO_KEEP_0____CAPGO_KEEP_4__
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.appConfig({} as IntuneMAMUser);getPolicy
__CAPGO_KEEP_2____CAPGO_KEEP_6__
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.getPolicy({} as IntuneMAMUser);groupName
그룹 이름 섹션존재할 때 앱 구성 값이 해결되는 편리한 도우미입니다. GroupName 클립보드에 복사
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.groupName({} as IntuneMAMUser);Return the native Intune and MSAL SDK versions bundled by this plugin.
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.sdkVersion();displayDiagnosticConsole
클립보드에 복사타입 참조
import { IntuneMAM } from '@capgo/capacitor-intune';
await IntuneMAM.displayDiagnosticConsole();클립보드에 복사
클립보드에 복사AcquireTokenOptions
AcquireTokenOptions 섹션 제목인터랙티브 토큰 취득 옵션.
export interface AcquireTokenOptions { /** * Scopes to request, for example `https://graph.microsoft.com/.default`. */ scopes: string[];
/** * When true, always show the Microsoft account picker or sign-in UI. * * @default false */ forcePrompt?: boolean;
/** * Optional login hint for the interactive sign-in flow. */ loginHint?: string;}IntuneMAMAcquireToken
IntuneMAMAcquireToken 섹션 제목export interface IntuneMAMAcquireToken { accountId: string; accessToken: string; accountIdentifier: string; idToken?: string; username?: string; tenantId?: string; authority?: string;}AcquireTokenSilentOptions
AcquireTokenSilentOptions 섹션 제목침묵 토큰 취득 옵션.
export interface AcquireTokenSilentOptions { /** * Scopes to request, for example `https://graph.microsoft.com/.default`. */ scopes: string[];
/** * Microsoft Entra object ID returned by `acquireToken` or `enrolledAccount`. */ accountId: string;
/** * When true, bypass the cached access token and request a fresh one. * * @default false */ forceRefresh?: boolean;}RegisterAndEnrollAccountOptions
RegisterAndEnrollAccountOptions 섹션 제목export interface RegisterAndEnrollAccountOptions { /** * Microsoft Entra object ID returned by `acquireToken`. */ accountId: string;}IntuneMAMUser
IntuneMAMUser 섹션 제목export interface IntuneMAMUser { accountId: string; accountIdentifier?: string; username?: string; tenantId?: string; authority?: string;}IntuneMAMAppConfig
IntuneMAMAppConfig 섹션export interface IntuneMAMAppConfig { accountId: string; fullData: Record<string, string>[]; values: Record<string, string>; conflicts: string[];}IntuneMAMPolicy
IntuneMAMPolicy 섹션export interface IntuneMAMPolicy { accountId: string; isPinRequired?: boolean; isManagedBrowserRequired?: boolean; isScreenCaptureAllowed?: boolean; isContactSyncAllowed?: boolean; isAppSharingAllowed?: boolean; isFileEncryptionRequired?: boolean; notificationPolicy?: string;}IntuneMAMGroupName
IntuneMAMGroupName 섹션export interface IntuneMAMGroupName { accountId: string; groupName?: string;}IntuneMAMVersionInfo
IntuneMAMVersionInfo 섹션export interface IntuneMAMVersionInfo { platform: 'ios' | 'android'; intuneSdkVersion: string; msalVersion?: string;}IntuneMAMChangeEvent
IntuneMAMChangeEvent 섹션export interface IntuneMAMChangeEvent { accountId?: string;}Source Of Truth
Source Of Truth 섹션이 페이지는 플러그인의 src/definitions.ts. 업스트림에서 API이 변경되었을 때 다시 싱크를 실행하세요.
Getting Started에서 계속하세요
Getting Started에서 계속하세요Capacitor를 사용하는 경우 Getting Started 대시보드 및 API를 계획하고 운영하기 위해, API를 연결하세요. Using @capgo/capacitor-intune Using @capgo/capacitor-intune에서 native capability를 사용하기 위해 API Overview API Overview에서 구현 세부 정보를 확인하세요. Introduction __CAPGO_KEEP_0__ 구현 세부 정보에 대해 API 키 API 키의 구현 세부 정보에 대해, 및 장치 장치의 구현 세부 정보에 대해.