We are creating a Restful Web API for our client which would be consumed by their Native Mobile apps and Web apps only no third party access.
Each user has his own credentials and Role in Application, and role based access aka Authorization.
What is best way to authenticate and role authorization of user in web API without keeping session. I am using Asp.net web API 1.0 as i am on 4.0 framework.
Do i need to get Role information from DB on each call. any efficient way?