# flyte.app.extras

## Directory

### Classes

| Class | Description |
|-|-|
| [`FastAPIAppEnvironment`](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/packages/flyte.app.extras/fastapiappenvironment/page.md) |  |
| [`FastAPIPassthroughAuthMiddleware`](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/packages/flyte.app.extras/fastapipassthroughauthmiddleware/page.md) | FastAPI middleware that automatically sets Flyte auth metadata from request headers. |
| [`FlyteWebhookAppEnvironment`](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/packages/flyte.app.extras/flytewebhookappenvironment/page.md) | A pre-built FastAPI app environment for common Flyte webhook operations. |

## Subpages

- [FastAPIAppEnvironment](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/packages/flyte.app.extras/fastapiappenvironment/page.md)
  - Parameters
  - Properties
  - Methods
  - add_dependency()
  - clone_with()
  - container_args()
  - container_cmd()
  - container_command()
  - get_port()
  - on_shutdown()
  - on_startup()
  - server()
- [FastAPIPassthroughAuthMiddleware](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/packages/flyte.app.extras/fastapipassthroughauthmiddleware/page.md)
  - Parameters
  - Methods
  - dispatch()
  - extract_authorization_header()
  - extract_cookie_header()
  - extract_custom_header()
- [FlyteWebhookAppEnvironment](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/packages/flyte.app.extras/flytewebhookappenvironment/page.md)
  - Parameters
  - Properties
  - Methods
  - add_dependency()
  - clone_with()
  - container_args()
  - container_cmd()
  - container_command()
  - get_port()
  - on_shutdown()
  - on_startup()
  - server()

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/flyte-sdk/packages/flyte.app.extras/_index.md
**HTML**: https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/packages/flyte.app.extras/
