> ## Documentation Index
> Fetch the complete documentation index at: https://gofastmcp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# consent

# `fastmcp.server.auth.oauth_proxy.consent`

OAuth Proxy Consent Management.

This module contains consent management functionality for the OAuth proxy.
The ConsentMixin class provides methods for handling user consent flows,
cookie management, and consent page rendering.

## Classes

### `ConsentMixin` <sup>[https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp\_slim/fastmcp/server/auth/oauth\_proxy/consent.py#L76](https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py#L76)</sup>

Mixin class providing consent management functionality for OAuthProxy.

This mixin contains all methods related to:

* Cookie signing and verification
* Consent page rendering
* Consent approval/denial handling
* URI normalization for consent tracking


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.