@capgo/capacitor-app-attest
Unified cross-platform attestation plugin for Capacitor.
Overview
Section titled “Overview”Unified cross-platform attestation plugin for Capacitor.
Core Capabilities
Section titled “Core Capabilities”isSupported- Checks whether native attestation is available on this device.prepare- Prepares attestation state and returns the key handle used for later calls.createAttestation- Creates a registration attestation token bound to a backend-issued challenge.createAssertion- Creates a request assertion token bound to a request payload.
Public API
Section titled “Public API”| Method | Description |
|---|---|
isSupported | Checks whether native attestation is available on this device. |
prepare | Prepares attestation state and returns the key handle used for later calls. |
createAttestation | Creates a registration attestation token bound to a backend-issued challenge. |
createAssertion | Creates a request assertion token bound to a request payload. |
storeKeyId | Stores/prepares a key identifier for reuse. |
getStoredKeyId | Returns the currently stored/prepared key identifier. |
clearStoredKeyId | Clears stored/prepared key identifiers. |
generateKey | Legacy alias for prepare(). |
attestKey | Legacy alias for createAttestation(). |
generateAssertion | Legacy alias for createAssertion(). |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-app-attest.