阅读背景:

如何使用PassportJS保护API端点?

来源:互联网 

My app use Express and AngularJS. I'm using express to handle basic web seving of the angular code via static. The angular code uses services that hit API endpoints hosted by express. I only want the API endpoints to be accessible after a user has authenticated. How can I accomplish this via PassportJS?My app use Express and AngularJS. I'm using exp




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: