用于openid用户注册的tiddlywebplugin。
tiddlywebplugins.register的Python项目详细描述
TiddlyWeb的用户注册插件示例。
这样做的目的是验证一个openid,然后创建一个 tiddlyweb该openid的用户并为其分配角色。 这允许系统超越“任何”策略 “R:成员”之一。这是一种提供成员 在不允许所有人 开放式身份证。
它使用一些可选的配置设置:
- register.role: The role assigned to newly registered
- users. Defaults to “MEMBER”.
- register.start_href: The link to send users to after
- they have registered. Defaults to “/”.
- register.start_title: The title of the link. Defaults
- to “Get Started”.
- register.blacklist: A list of openids to never allow
- to register. Defaults to an empty list.
因为正在使用tiddlywebplugins.templates,所以 register.html和registered.html模板可能被重写 通过在实例中创建模板目录 目录并将新版本的模板放在其中。
版权所有2009,chris dent<;cdent@peemore.com>;
在TiddlyWeb上以同样的条款授权。 http://tiddlyweb.com/