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

# Overview

> Summary of the Microsoft.OData.Mcp.AspNetCore.Authentication Namespace

## Types

### &#x20;Classes

| Name | Summary |
| - | - |
| [ProtectedResourceMetadataMiddleware](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/AspNetCore/Authentication/ProtectedResourceMetadataMiddleware.md) | Publishes RFC 9728 protected resource metadata for the configured route bases, and rewrites the  `WWW-Authenticate` challenge on a `401` beneath one of those bases so a client is told  where that document lives. |
| [ProtectedResourceMetadataOptions](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/AspNetCore/Authentication/ProtectedResourceMetadataOptions.md) | What an API publishes about how to sign in to it: the RFC 8414 authorization servers that issue  its tokens, the scopes a client should ask for, and which route bases the published document covers. |
| [ProtectedResourceMetadataStartupFilter](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/AspNetCore/Authentication/ProtectedResourceMetadataStartupFilter.md) | Validates [ProtectedResourceMetadataOptions](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/AspNetCore/Authentication/ProtectedResourceMetadataOptions.md) at startup and prepends  [ProtectedResourceMetadataMiddleware](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/AspNetCore/Authentication/ProtectedResourceMetadataMiddleware.md) to the pipeline, no matter how the app wrote its own  `Configure` delegate. |


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