简体   繁体   English

simplesaml是否像SP一样为IdP提供任何API?

[英]Does simplesaml provide any API for IdP as it does for SP?

I know that SimpleSAML_Auth_Simple class is provided for SP side operations but I can't find the API for IdP side operations like assertion creation and sending the message to the SP's assertion consumer service. 我知道为SP端操作提供了SimpleSAML_Auth_Simple类,但是我找不到用于IdP端操作(如断言创建和将消息发送到SP的断言使用者服务)的API。 Does that mean there is no exposed API and simplesaml handles this internally. 这是否意味着没有公开的API,并且simplesaml在内部进行处理。

SSP handles it automatically. SSP会自动处理它。 You can follow the code in SSOService for how it receives AuthNRequests and responds if you needed to customize something. 您可以遵循SSOService中的代码以了解其如何接收AuthNRequests并在需要自定义内容时进行响应。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM