ServiceStack 是否支持基于令牌的身份验证? [英] Does ServiceStack support Token based authentication?

查看:88
本文介绍了ServiceStack 是否支持基于令牌的身份验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Asp.net Web api 对基于令牌的身份验证提供开箱即用的支持,并具有较小的配置设置.我还没有为 servicestack 找到类似的东西.无论如何,我如何设置服务堆栈以在身份验证时提供令牌而不是会话 ID.

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.

推荐答案

ServiceStack 包括 支持 JWT 内置-在中,还有一些其他项目可以使用 ServiceStack 启用基于令牌的身份验证:

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

这篇关于ServiceStack 是否支持基于令牌的身份验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆