API Reference

1. Check Platform Support

Purpose
Checks if the user's device supports platform authenticators that can be used to create or access passkeys.
Returns
Boolean value indicating support.

2. Create Passkey

Purpose
Generates a new passkey using the client’s device. It involves specifying cryptographic options and user information.
Parameters
publicKey: Configuration object including challenge, user information, and cryptographic parameters.

3. Get Passkey

Purpose
Retrieves an existing passkey to authenticate a user to a service.
Parameters
publicKey: Configuration object for the authentication request, typically including challenge and allowed credentials.