Skip to content

@capgo/capacitor-app-attest

Unified cross-platform attestation plugin for Capacitor.

Unified cross-platform attestation plugin for Capacitor.

  • 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.
MethodDescription
isSupportedChecks whether native attestation is available on this device.
preparePrepares attestation state and returns the key handle used for later calls.
createAttestationCreates a registration attestation token bound to a backend-issued challenge.
createAssertionCreates a request assertion token bound to a request payload.
storeKeyIdStores/prepares a key identifier for reuse.
getStoredKeyIdReturns the currently stored/prepared key identifier.
clearStoredKeyIdClears stored/prepared key identifiers.
generateKeyLegacy alias for prepare().
attestKeyLegacy alias for createAttestation().
generateAssertionLegacy alias for createAssertion().

This reference is synced from src/definitions.ts in capacitor-app-attest.