pyramid-cubicweb 0.8.0
pip install pyramid-cubicweb
最新版本
发布时间:
将CubicWeb集成到Pyramid应用程序中。
导航
未验证详情
这些详细信息 尚未 由PyPI验证项目链接
元数据
- 许可协议: 公共领域(未知)
- 作者: Christophe de Vienne
分类器
- 开发状态
- 环境
- 框架
- 目标受众
- 许可协议
- 自然语言
- 操作系统
- 编程语言
- 主题
项目描述
pyramid_cubicweb 是将 CubicWeb 与 Pyramid 网络应用程序集成的一种特定方式。
功能
提供默认路由,允许cubicweb实例处理请求。
用法
使用时,在您的Python环境中安装 pyramid_cubicweb,然后 包含 包
config.include('pyramid_cubicweb')
配置
需要以下 INI设置/环境变量
cubicweb.instance / CW_INSTANCE:cubicweb实例名称
身份验证cookie
当使用 pyramid_cubicweb.auth(CubicWeb AuthTkt身份验证策略,大多数情况下是默认的)时,您可能需要使用标准Pyramid配置来配置这些身份验证策略的行为。您可能需要在您的 pyramid.ini 中进行配置
- 会话身份验证::
这是一个AuthTktAuthenticationPolicy,您可以通过使用前缀cubicweb.auth.authtkt.session添加配置条目来覆盖默认配置值。默认值是
cubicweb.auth.authtkt.session.hashalg = sha512 cubicweb.auth.authtkt.session.cookie_name = auth_tkt cubicweb.auth.authtkt.session.timeout = 1200 cubicweb.auth.authtkt.session.reissue_time = 120 cubicweb.auth.authtkt.session.http_only = True cubicweb.auth.authtkt.session.secure = True
- 持久性身份验证:
这同样是一个AuthTktAuthenticationPolicy。当启用持久会话时(通常在使用cubicweb-rememberme立方体时)使用它。您可以通过使用前缀cubicweb.auth.authtkt.persistent添加配置条目来覆盖默认配置值。默认值是
cubicweb.auth.authtkt.persistent.hashalg = sha512 cubicweb.auth.authtkt.persistent.cookie_name = pauth_tkt cubicweb.auth.authtkt.persistent.max_age = 3600*24*30 cubicweb.auth.authtkt.persistent.reissue_time = 3600*24 cubicweb.auth.authtkt.persistent.http_only = True cubicweb.auth.authtkt.persistent.secure = True
有关更多详细信息,请参阅文档(位于源代码的docs目录中)。
项目详情
未验证详情
这些详细信息 尚未 由PyPI验证项目链接
元数据
- 许可协议: 公共领域(未知)
- 作者: Christophe de Vienne
分类器
- 开发状态
- 环境
- 框架
- 目标受众
- 许可协议
- 自然语言
- 操作系统
- 编程语言
- 主题
关闭
pyramid-cubicweb-0.8.0.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | c2ec36a4ced10a8b285cbea414d420e61fa25e12cdf7a2f3f353c6a444f86ef9 |
|
MD5 | e32d6dd33926958003ef4b0778168766 |
|
BLAKE2b-256 | cbc110c75f0413ee5b20353201aabae928c35719a525813b3448c9de6ee8a08a |