Skip to content
Scalekit Docs
Talk to an EngineerDashboard

Passkeys

Passkey and WebAuthn credentials

Use scalekitClient.webAuthn() to register and authenticate passkeys (WebAuthn credentials).

Build registration and authentication ceremonies with the options and verification methods below.

clientWebAuthnhttps://github.com/scalekit-inc/scalekit-sdk-java/blob/main/src/main/java/com/scalekit/api/WebAuthnClient.java
#asynclistCredentials

Lists all WebAuthn credentials for a user

paramuserIdString

The ID of the user whose credentials to list

returnsListCredentialsResponse

Paginated results.

scalekitClient.webAuthn().listCredentials("user_123");
clientWebAuthnhttps://github.com/scalekit-inc/scalekit-sdk-java/blob/main/src/main/java/com/scalekit/api/WebAuthnClient.java
#asyncupdateCredential

Updates a WebAuthn credential’s display name

paramcredentialIdString

The ID of the credential to update

paramdisplayNameString

The new display name for the credential

returnsUpdateCredentialResponse

The updated resource.

scalekitClient.webAuthn().updateCredential("cred_123", "My laptop key");
clientWebAuthnhttps://github.com/scalekit-inc/scalekit-sdk-java/blob/main/src/main/java/com/scalekit/api/WebAuthnClient.java
#asyncdeleteCredential

Deletes a WebAuthn credential

paramcredentialIdString

The ID of the credential to delete

returnsDeleteCredentialResponse

Empty on success.

scalekitClient.webAuthn().deleteCredential("cred_123");