Skip to content

Verisoul __CAPGO_KEEP_0__ 저장소

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.

Manual Setup을 선호하시면 플러그인을 설치하기 위해 다음 명령어를 실행하고 아래에 플랫폼별로 설명된 지침을 따르세요:

터미널 창
npm install @capgo/capacitor-verisoul
npx cap sync

Verisoul 설정

Verisoul 설정

시작 시 한 번 호출하세요. 테스트 및 운영 트래픽에 사용하세요. configure() __CAPGO_KEEP_0__ sandbox 클립보드에 복사 prod 세션 ID를 가져오기

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

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

클립보드에 복사

After Verisoul has collected enough native signals, request the session ID and send it to your backend. Your backend should call Verisoul’s server-side API for the risk assessment.

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

계정 변경 시 초기화

시작 시 한 번 호출하세요.

테스트 및 운영 트래픽에 사용하세요. reinitialize() __CAPGO_KEEP_0__.

await Verisoul.reinitialize();

Android 터치 신호

Android 터치 신호

Android에서 앱이 Verisoul 터치 패턴 수집이 필요할 때 터치 이벤트를 전달합니다.

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

플랫폼 설정

플랫폼 설정
  • iOS 설정 App Attest 특권에 대한 주의사항을 포함합니다.
  • Android 설정 Verisoul Maven 저장소와 권한에 대한 내용을 포함합니다.

Getting Started에서 계속 진행하세요

Getting Started에서 계속 진행하는 섹션

__CAPGO_KEEP_0__을 사용 중이라면 Getting Started Verisoul 세션을 통합하기 위해 __CAPGO_KEEP_0__을 연결하세요. @capgo/capacitor-verisoul API에 대한 개요를 보려면 iOS 설정 App Attest에 대한 참고 사항을 보려면 Android 설정 Gradle 설정을 보려면 @capgo/capacitor-verisoul 사용 __CAPGO_KEEP_0__