且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用Web API来实现基于声明的身份验证?

更新时间:2021-09-14 01:28:13

要看哪些协议现有的STS支持。你需要找到这一点。

Depends which protocols your existing STS supports. You need to find that out.

基本上,你需要这样做:

Basically you need to do this:


  1. 向您的STS令牌(从客户端应用程序内)

  2. 发送令牌到Web API

  3. 验证Web API里面令牌

您需要了解的事情是,如果1作品与您的自定义STS - 那么我们可以谈2和3;)

The thing you need to find out is if 1. works with your custom STS - then we can talk about 2 and 3 ;)