用于实现基于 SAML2 的服务提供者和身份提供者的 Python 库? [英] Python library for implementing SAML2 based service provider and identity provider?

查看:66
本文介绍了用于实现基于 SAML2 的服务提供者和身份提供者的 Python 库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找可用于实现基于 SAML2 的服务提供者和身份提供者的 Python 库.核心库不应该依赖于任何特定的网络框架.我正在寻找功能更完整且最好易于使用的东西.此外,图书馆应该有更宽松的许可证(非 GPL).搜索后发现了几个链接,贴在这里:

I am looking for a Python library which can be used to implement SAML2 based service provider and identity provider. The core library should not depend on any particular web-framework. I am looking for something which is more feature complete and preferably easy to use. Also the library should have more permissive license (non-GPL). After searching I found few links, I have pasted it here:

http://wiki.python.org/moin/SAML

有什么建议吗?

推荐答案

您也可以查看 https://github.com/onelogin/python-saml

也是开源的,工具包包含 2 个演示:一个 django 应用程序和一个 Flask 应用程序.

Is also open source and the toolkit contains 2 demos: A django application and a Flask application.

目前仅适用于 Python 2.X

Right now only works on Python 2.X

编辑 13/05/2015:有一个 python 3.X 版本(测试版,我仍在测试它):https://github.com/pitbulk/python3-saml(感谢 bgaifullin 的贡献)

Edited 13/05/2015: There is a python 3.X version (beta, I'm still testing it): https://github.com/pitbulk/python3-saml (thanks bgaifullin for contributing it)

13/04/2016 编辑:Python 3.X 版本稳定且经过测试.

Edited 13/04/2016: Python 3.X version is stable and tested.

这篇关于用于实现基于 SAML2 的服务提供者和身份提供者的 Python 库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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