python-saml - Python 的 SAML 工具包


MIT
跨平台
Python

软件简介

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)