Skip to content

Getting Started

GitHub

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-verisoul` plugin in my project.

__CAPGO_KEEP_1__

__CAPGO_KEEP_2__
npm install @capgo/capacitor-verisoul
npx cap sync

__CAPGO_KEEP_3__

__CAPGO_KEEP_4__

__CAPGO_KEEP_5__ configure() __CAPGO_KEEP_6__ sandbox __CAPGO_KEEP_7__ prod __CAPGO_KEEP_8__

import { Verisoul } from '@capgo/capacitor-verisoul';
await Verisoul.configure({
environment: 'prod',
projectId: 'YOUR_PROJECT_ID',
});

Verisoul이 충분한 네이티브 신호를 수집한 후 세션 ID를 요청하고 백엔드에 전송하세요. 백엔드는 Verisoul의 서버 측 API를 호출하여 위험 평가를 수행해야 합니다.

const { sessionId } = await Verisoul.getSessionId();
await fetch('/api/risk/verisoul', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ sessionId }),
});

호출 reinitialize() 사용자 컨텍스트가 변경될 때, 예를 들어 로그아웃 후 다른 계정으로 로그인할 때.

await Verisoul.reinitialize();

안드로이드에서 터치 이벤트를 전달하여 Verisoul의 터치 패턴 수집이 필요할 때.

await Verisoul.recordTouchEvent({
x: 120,
y: 240,
action: 'down',
});

플랫폼 설정

플랫폼 설정 섹션
  • iOS 설정 App Attest 권한 관련 주의 사항을 포함합니다.
  • Android 설정 Verisoul Maven 저장소와 권한에 대해 다룹니다.

Getting Started에서 계속 진행하세요

Getting Started에서 계속 진행하세요 섹션

Verisoul 세션을 통합하고 있다면 Verisoul 세션을 통합하고 있다면 @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-verisoul과 연결하세요 Getting Started Verisoul 세션을 통합하고 있다면 @capgo/capacitor-verisoul과 연결하세요 API 개요를 위한 iOS 설정 App Attest에 대한 주의 사항을 위한 Android 설정 Gradle 설정을 위한 @capgo/capacitor-verisoul을 사용하는 방법 플러그인 튜토리얼을 위한