zelinskiy / WebApiTokensDemo

Simple asp.net mvc core web api service with token-based auth
2 stars 3 forks source link

/token Must be a controller #2

Closed zelinskiy closed 8 years ago

zelinskiy commented 8 years ago

It acts like controller, used as controller and looks like controler

zelinskiy commented 8 years ago

Pros: Less duplicate code (Requests, AllowOrigin, Etc.) Cons: How to pass securityKey? It is better to configure it in Sartup.cs

zelinskiy commented 8 years ago

Fixed