https://anuraj.dev/blog/implementing-basic-authentication-in-minimal-webapi/ #3
Replies: 2 comments 1 reply
-
Well, |
Beta Was this translation helpful? Give feedback.
1 reply
-
There should be a way of doing this using C#8 functions but it's not obvious probably wasn't a big focus because Basic Auth isn't very secure compared to other methods. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://anuraj.dev/blog/implementing-basic-authentication-in-minimal-webapi/
This post is about how implement basic authentication in ASP.NET Core Minimal API. Few days back I got a question / comment in the blog post about Minimal APIs - about implementing Basic authentication in Minimal APIs. Since the Action Filters support is not available in Minimal API I had to find some alternative approach for the implementation. I already wrote two blog posts Basic authentication middleware for ASP.NET 5 and Basic HTTP authentication in ASP.Net Web API on implementing Basic authentication. In this post I am implementing an AuthenticationHandler and using this for implementing basic authentication. As I already explained enough about the concepts, I am not discussing them again in this post.
https://anuraj.dev/blog/implementing-basic-authentication-in-minimal-webapi/
Beta Was this translation helpful? Give feedback.
All reactions