Does ServiceStack support Token based authentication?

雨燕双飞 提交于 2019-12-08 05:46:22

问题


Asp.net Web api has out of the box support for token based authentication with minor configuration settings. I havent found anything like that for servicestack. Is there anyway how I can setup servicestack to provide tokens on authentication instead of session id.


回答1:


ServiceStack includes support for JWT built-in there are also a couple of other projects that enable token-based authentication with ServiceStack:

  • StatelessAuthentication
  • Using IdentityServer 4 with ServiceStack and Angular
  • Auth0 ServiceStack Integration
  • ServiceStack JWT Token validation for Auth0


来源:https://stackoverflow.com/questions/34038039/does-servicestack-support-token-based-authentication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!