passkeys.com
Who’s Using It?
What Are Passkeys?
Guide
Integrations
Resources
Libraries
API Reference
3rd Party Resources
Passkeys Playground
Passwordless Authentication
API Reference
1. Check Platform Support
API
PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable()
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
API
navigator.credentials.create()
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
API
navigator.credentials.get()
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.
DE
NL
PL