【先後臺分離模式下,使用OAuth Token方式認證】

refer: http://nils-blum-oeste.net/angularjs-send-auth-token-with-every–request/

 

參考資料:

django-rest-framework-authentication:http://www.django-rest-framework.org/api-guide/authentication/

django-oauth-toolkit-Django Rest Framework-Getting started:https://django-oauth-toolkit.readthedocs.io/en/latest/rest-framework/getting_started.html

RESTful API User Authentication with Node.js and AngularJS – Part 1/2: Server:https://devdactic.com/restful-api-user-authentication-1/

AngularJS: Send auth token with every request:http://chenpeng.info/html/2947

Angular中在先後端分離模式下實現權限控制 – 基於RBAC:http://chenpeng.info/html/3287

相關文章
相關標籤/搜索