代码改变世界

Authentication and Authorization in ASP.NET Web API

2015-06-16 20:40  jdilt  阅读(168)  评论(0编辑  收藏  举报

What are authentication and authorization

  • Authentication is knowing the identity of the user. For example, Alice logs in with her username and password, and the server uses the password to authenticate Alice.
  • Authorization is deciding whether a user is allowed to perform an action. For example, Alice has permission to get a resource but not create a resource.

Authentication and Authorization in ASP.NET Web API