Class QuickApiAntiforgeryMiddleware
AntiforgeryMiddleware,NET8+已内部实现
[Obsolete("NET8+已内部实现", false)]
public sealed class QuickApiAntiforgeryMiddleware
- Inheritance
-
QuickApiAntiforgeryMiddleware
- Inherited Members
- Extension Methods
Constructors
QuickApiAntiforgeryMiddleware(RequestDelegate, IAntiforgery)
public QuickApiAntiforgeryMiddleware(RequestDelegate next, IAntiforgery antiforgery)
Parameters
next
RequestDelegateantiforgery
IAntiforgery
Methods
Invoke(HttpContext)
public Task Invoke(HttpContext context)
Parameters
context
HttpContext