> ## 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.

# bearer

# `fastmcp.client.auth.bearer`

## Classes

### `BearerAuth` <sup>[https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp\_slim/fastmcp/client/auth/bearer.py#L11](https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/client/auth/bearer.py#L11)</sup>

**Methods:**

#### `auth_flow` <sup>[https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp\_slim/fastmcp/client/auth/bearer.py#L15](https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/client/auth/bearer.py#L15)</sup>

```python theme={"theme":{"light":"snazzy-light","dark":"dark-plus"}}
auth_flow(self, request)
```


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