use asp.net web api token to authenticate my asp.net mvc application -



use asp.net web api token to authenticate my asp.net mvc application -

i have created new web api project individual user business relationship authentication.

i followed post , worked expected

http://www.asp.net/web-api/overview/security/individual-accounts-in-web-api

now, have token end point localhost:54452/token

lets, create new asp.net mvc application. want utilize token end point authentication. how tell controllers utilize token end point? how tell controllers pass bearer access token on each request or how these 2 work together.

asp.net mvc , asp.net web api 2 different projects different port numbers

thanks,

syed

i create wrapper class uses httpclient issue http requests web api. utilize wrapper class when you're communicating web api. handle adding token http request header.

asp.net asp.net-mvc access-token asp.net-web-api2

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -