> **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 the `webauthn` client 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">
  
    
      

      List all WebAuthn credentials for a user

      
        The user ID to list credentials for
      
      
        Paginated credentials.
      

```typescript wrap showLineNumbers=false
const response = await scalekit.webauthn.listCredentials('usr_123456');
console.log('Credentials:', response.credentials);
```

    
  
</div>

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

      Update a WebAuthn credential's display name

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

```typescript wrap showLineNumbers=false
const response = await scalekit.webauthn.updateCredential(
  'cred_123',
  'My YubiKey'
);
```

    
  
</div>

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

      Delete a WebAuthn credential

      
        The credential ID to delete
      
      
        Empty on success.
      

```typescript wrap showLineNumbers=false
const response = await scalekit.webauthn.deleteCredential('cred_123');
console.log('Deleted:', response.success);
```

    
  
</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 |
