Skip to content
Scalekit Docs
Talk to an EngineerDashboard

Passkeys

Passkey and WebAuthn credentials

Use the WebAuthn client 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-go/blob/main/webauthn.go
#asyncListCredentials

ListCredentials retrieves all registered passkeys for a user

paramctxcontext.Context

Request context

paramuserIdstring

Scalekit user ID (usr_...).

returnsListCredentialsResponse

Paginated results.

clientWebAuthnhttps://github.com/scalekit-inc/scalekit-sdk-go/blob/main/webauthn.go
#asyncUpdateCredential

UpdateCredential updates the display name of a passkey credential

paramctxcontext.Context

Request context

paramcredentialIdstring

Credential id.

paramdisplayNamestring

Display name.

returnsUpdateCredentialResponse

The updated resource.

clientWebAuthnhttps://github.com/scalekit-inc/scalekit-sdk-go/blob/main/webauthn.go
#asyncDeleteCredential

DeleteCredential deletes a specific passkey credential

paramctxcontext.Context

Request context

paramcredentialIdstring

Credential id.

returnsDeleteCredentialResponse

Empty on success.