Google Chrome supports four HTTP authentication types:
- Basic
- Digest
- NTLM
- Negotiate
ASP.NET WebAPI has AuthorizationFilterAttributes which can be used to implement both Authentication and Authorization for your APIs. If you want to use Basic or Digest authentication, there are already several open source implementations available to help you out!
- Rick Strahl - WebAPI Basic Authentication Authorization Filter
- Badri - Digest Authentication with ASP.NET Web API
Do you need to used mixed authentication and support both Basic and Digest?
If so, be sure to check out my next blog post...
Enjoy,
Tom
No comments:
Post a Comment