LiveWhat does the browser SDK do?
Web SDK
Intent display, WebAuthn, camera evidence, and capture-agent attestation.
Install
terminal
pnpm add @decionis/presence-webVerify the action
verify.ts
import { Presence } from "@decionis/presence-web"; const presence = new Presence({ apiBaseUrl: "https://presence.decionis.com",}); const result = await presence.verify({ requestId: request.request_id, sessionToken: session.session_token,}); if (result.outcome !== "ALLOW") stopExecution();Browser verification
- 01
The browser receives a narrow session token, presents the action context, and runs the required WebAuthn ceremony.
- 02
Optional relying-party capture runs after the platform biometric succeeds. Pixels stay in the page; only derived evidence enters the decision request.
Verify the implementation
Server-side session setup.
/developers/api →Capture-agent trust model.
/how-it-works/device-proof →
One next step
Continue with the executable path.