Class ResourceMetadataRequestContext
- Namespace
- ModelContextProtocol.AspNetCore.Authentication
- Assembly
- ModelContextProtocol.AspNetCore.dll
Represents the context for resource metadata request events.
public class ResourceMetadataRequestContext : HandleRequestContext<McpAuthenticationOptions>
- Inheritance
-
ResourceMetadataRequestContext
- Inherited Members
Constructors
ResourceMetadataRequestContext(HttpContext, AuthenticationScheme, McpAuthenticationOptions)
Initializes a new instance of the ResourceMetadataRequestContext class.
public ResourceMetadataRequestContext(HttpContext context, AuthenticationScheme scheme, McpAuthenticationOptions options)
Parameters
contextHttpContextThe HTTP context.
schemeAuthenticationSchemeThe authentication scheme.
optionsMcpAuthenticationOptionsThe authentication options.
Properties
ResourceMetadata
Gets or sets the protected resource metadata for the current request.
public ProtectedResourceMetadata? ResourceMetadata { get; set; }