djangosaml2auth的内联元数据插件
django-saml2-auth-metadata-inline的Python项目详细描述
A plugin to support inline metadata configuration in django-saml2-auth
# Introduction
By default, django-saml2-auth only supports metadata from a local file or a remote URL. The underlying library supports
“inline” metadata i.e. a string in the settings file. This makes it possible to follow the [12factor]()
methodology because an environment variable can be used to provide this “inline” data.
# Example
In settings.py:
INSTALLED_APPS += (
…
‘django_saml2_auth’,
# ensure the plugin is loaded
‘django_saml2_auth_metadata_inline’,
…
)
这是django-saml2-auth中的“普通”配置对象
SAML2\u AUTH={
‘DEFAULT_NEXT_URL’: ‘/’,
‘PLUGINS’: {
# use this package in lieu of DEFAULT metadata plugin (or list both)
‘METADATA’: [‘INLINE’],
}
插件在此处查找配置
'元数据\u XML_STRING':操作系统环境获取('SAML_CONFIG')
}
关键字:用于内联元数据的Django SAML2插件 平台:未知 分类器:开发状态::3-Alpha 分类器:目标受众::开发者 分类器:Topic::Software Development::Libraries::Python Modules 分类器:License::OSI Approved::Apache Software License 分类器:Framework::Django::1.5 分类器:Framework::Django::1.6 分类器:Framework::Django::1.7 分类器:Framework::Django::1.8 分类器:Framework::Django::1.9 分类器:Framework::Django::1.10 分类器:编程语言::Python::2 分类器:编程语言::Python::2.6 分类器:编程语言::Python::2.7 分类器:编程语言::Python::3 分类器:编程语言::Python::3.3 分类器:Python语言::3.4编程 分类器:编程语言::Python::3.5 分类器:编程语言::Python::3.6
- 项目
标签: