- Web API in ASP.NET Core 2.0
- Entity Framework 2.0
- ASP.NET Identity
- Claim and Role Based Authorization
- JWT Based Authentication
- Get packages with Nuget
- Update-Database
- Create a User using api/account/create
- Login a User using api/account/generatetoken
- Consuming data using ChicoFeelings API
References:
https://tools.ietf.org/html/rfc7519
https://pioneercode.com/post/authentication-in-an-asp-dot-net-core-api-part-3-json-web-token
https://developer.atlassian.com/static/connect/docs/latest/concepts/understanding-jwt.html
https://goblincoding.com/2016/07/24/asp-net-core-policy-based-authorisation-using-json-web-tokens/
https://samueleresca.net/2016/12/developing-token-authentication-using-asp-net-core/
https://wildermuth.com/2017/08/19/Two-AuthorizationSchemes-in-ASP-NET-Core-2
http://www.c-sharpcorner.com/article/handle-refresh-token-using-asp-net-core-2-0-and-json-web-token/
https://blogs.msdn.microsoft.com/webdev/2017/04/06/jwt-validation-and-authorization-in-asp-net-core/
https://blogs.msdn.microsoft.com/webdev/2016/10/27/bearer-token-authentication-in-asp-net-core/
http://www.jerriepelser.com/blog/using-roles-with-the-jwt-middleware/
https://docs.microsoft.com/en-us/aspnet/core/security/authorization/roles