# Advanced Behaviors

This section covers advanced WebAuthn features and customization options for Pure PHP implementations.

## Overview

While the basic WebAuthn implementation covers most use cases, you may need to customize certain behaviors to meet specific security or user experience requirements. These advanced topics help you fine-tune your WebAuthn integration.

## Available Topics

### Security & Validation

* [**Debugging**](/pure-php/advanced-behaviours/debugging.md) - Enable debug logging to troubleshoot WebAuthn operations
* [**Authenticator Counter**](/pure-php/advanced-behaviours/authenticator-counter.md) - Detect cloned authenticators using signature counters
* [**Attestation and Metadata Statement**](/pure-php/advanced-behaviours/attestation-and-metadata-statement.md) - Verify authenticator attestations and trust anchors

### User Experience

* [**User Verification**](/pure-php/advanced-behaviours/user-verification.md) - Configure biometric or PIN requirements
* [**Authenticator Selection Criteria**](/pure-php/advanced-behaviours/authenticator-selection-criteria.md) - Control which authenticators can be used
* [**Authentication without Username**](/pure-php/advanced-behaviours/authentication-without-username.md) - Enable resident keys for passwordless login

### Credential Management

* [**Signal API**](/pure-php/advanced-behaviours/signal-api.md) - Inform clients about credential status changes (new in 5.3.0)
* [**Backup Events**](/pure-php/advanced-behaviours/backup-events.md) - React to backup eligibility and status changes (new in 5.3.0)
* [**Conditional Create**](/pure-php/advanced-behaviours/conditional-create.md) - Auto-register credentials after password login (new in 5.3.0)

### Technical Configuration

* [**Authenticator Algorithms**](/pure-php/advanced-behaviours/authenticator-algorithms.md) - Configure supported cryptographic algorithms
* [**Extensions**](/pure-php/advanced-behaviours/extensions.md) - Use WebAuthn extensions for additional features
* [**Cross Origin Authentication**](/pure-php/advanced-behaviours/cross-origin-authentication.md) - Handle localhost and development environments

## When to Use Advanced Features

Most applications will work fine with the default WebAuthn configuration. Consider these advanced features when:

* **Security is paramount**: Use attestation verification and counter checking for high-security applications
* **User experience matters**: Enable usernameless authentication and optimize authenticator selection
* **Debugging issues**: Enable logging when troubleshooting registration or authentication problems
* **Compliance requirements**: Some regulations may require specific attestation or verification settings

## Quick Start

For basic WebAuthn implementation, start with these pages:

1. [WebAuthn Server](/pure-php/webauthn-server.md) - Set up the basic server components
2. [Authenticator Registration](/pure-php/authenticator-registration.md) - Register user authenticators
3. [Authenticate Your Users](/pure-php/authenticate-your-users.md) - Perform authentication

Then return to this section for advanced customization.

{% hint style="info" %}
If you're using the Symfony Bundle, see the [Symfony Bundle Advanced Behaviors](/symfony-bundle/advanced-behaviors.md) section for framework-specific implementations.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://webauthn-doc.spomky-labs.com/pure-php/advanced-behaviours.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
