Skip to content
Aviran edited this page Oct 7, 2013 · 8 revisions

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).

Features

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.

Support or Contact

Having trouble or any questions related to WebAPI Token Auth Bootstrap? Feel free to contact me at: admin@AviranCohen.com

Change Log

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.

Clone this wiki locally