-
Notifications
You must be signed in to change notification settings - Fork 28
Home
Welcome to the WebApiTokenAuthBootstrap wiki!
WebApiTokenAuthBootstrap is a Simple Token and Users Authentication and Authorization Bootstrap for WebAPI applications. Provided with 'TokenAuthApiController' which has built-in support for Login and Logout (cookies-based) and automatic token parsing and authenticating (inside query strings, form data or cookies).
Token Based User Authentication
User Property inside the TokenAuthApiController (Id, Username, Role, LastAccess).
Token Based User Authorization
TokenAuthorizeAttribute with different Access Levels - Public, User, Admin or Anonymous.
Built-in Functionality
Login(), Logoff(), Ok(), Error(), Unauthorized() Responses with various overloads.
Shared Dynamic Object Betwen Client and Server
UserData Property inside the `TokenAuthApiController (Up to size of 4 KB storage).
Great for caching data in the client side, especially for thin back-end applications like Single Page Applications.
Having trouble or any questions related to WebAPI Token Auth Bootstrap? Feel free to contact me at: admin@AviranCohen.com
1.0.2
Save the Last Access date for each token.
Ok() function was added to the TokenAuthApiController.
1.0.1
Bug fix related to AccessLevel.Annonymous access being blocked. Comments were added.