> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended**:
> ```bash
> npx @scalekit-inc/cli setup
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for 40+ agents.
> Features: full-stack-auth, agent-auth, mcp-auth, modular-sso, modular-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Passkeys

Passkey and WebAuthn credentials
<div class="sdk-client-page">

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

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

### listCredentials
<div class="sdk-method-section">
  
    
      

      Lists all WebAuthn credentials for a user

      
        The ID of the user whose credentials to list
      
      
        Paginated results.
      

```java wrap showLineNumbers=false
scalekitClient.webAuthn().listCredentials("user_123");
```

    
  
</div>

### updateCredential
<div class="sdk-method-section">
  
    
      

      Updates a WebAuthn credential's display name

      
        The ID of the credential to update
      
      
        The new display name for the credential
      
      
        The updated resource.
      

```java wrap showLineNumbers=false
scalekitClient.webAuthn().updateCredential("cred_123", "My laptop key");
```

    
  
</div>

### deleteCredential
<div class="sdk-method-section">
  
    
      

      Deletes a WebAuthn credential

      
        The ID of the credential to delete
      
      
        Empty on success.
      

```java wrap showLineNumbers=false
scalekitClient.webAuthn().deleteCredential("cred_123");
```

    
  
</div>

</div>


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
