mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 13:34:17 +02:00
22 lines
758 B
Text
22 lines
758 B
Text
---
|
|
title: bearer_env
|
|
sidebarTitle: bearer_env
|
|
---
|
|
|
|
# `fastmcp.server.auth.providers.bearer_env`
|
|
|
|
## Classes
|
|
|
|
### `EnvBearerAuthProviderSettings` <sup><a href="https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/server/auth/providers/bearer_env.py#L8" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
|
|
|
|
|
|
Settings for the BearerAuthProvider.
|
|
|
|
|
|
### `EnvBearerAuthProvider` <sup><a href="https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/server/auth/providers/bearer_env.py#L25" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
|
|
|
|
|
|
A BearerAuthProvider that loads settings from environment variables. Any
|
|
providing setting will always take precedence over the environment
|
|
variables.
|
|
|