Class McpAuthenticationEvents
- Namespace
- ModelContextProtocol.AspNetCore.Authentication
- Assembly
- ModelContextProtocol.AspNetCore.dll
Represents the authentication events for Model Context Protocol.
public class McpAuthenticationEvents
- Inheritance
-
McpAuthenticationEvents
- Inherited Members
Properties
OnResourceMetadataRequest
Gets or sets the function that is invoked when resource metadata is requested.
public Func<ResourceMetadataRequestContext, Task> OnResourceMetadataRequest { get; set; }
Property Value
Remarks
This function is called when a resource metadata request is made to the protected resource metadata endpoint. The implementer should set the ResourceMetadata property to provide the appropriate metadata for the current request.