Closed CHminggao closed 3 months ago
I need to use jwt to verify requests from other systems, but I haven't seen how to add RequireAuthorization on the MiniAPI
for example app.MapGet("/weatherforecast", () =>{}).RequireAuthorization()
app.MapGet("/weatherforecast", () =>{}).RequireAuthorization()
8.0
1.0
Service Add [Authorize]
Description
I need to use jwt to verify requests from other systems, but I haven't seen how to add RequireAuthorization on the MiniAPI
for example
app.MapGet("/weatherforecast", () =>{}).RequireAuthorization()
.NET version
8.0
MASA Framework version
1.0