Skip to main content

Utility Methods

The Web SDK also exposes lower-friction utility helpers.

Common Utilities

  • retrieveKey() Used for offline-style key retrieval flows.
  • clearUser() Clears local enrollment state on the device.
  • parseRetrieveKeyResult(jsonString) Parses a pasted or transferred key retrieval payload.

Singleton Access

Many integrations keep one initialized helper instance and reuse it across app screens instead of reinitializing per page.