- 授权协议: MIT
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/onelogin/python-saml
- 软件文档: https://github.com/onelogin/python-saml
- 官方下载: https://github.com/onelogin/python-saml
软件介绍
python-saml 是 Python 的 SAML 工具包。
示例代码:
filename = "/var/www/django-project/custom_settings.json" # The custom_settings.json contains a json_data_file = open(filename, 'r') # settings_data dict. settings_data = json.load(json_data_file) json_data_file.close() auth = OneLogin_Saml2_Auth(req, settings_data)
