An example user registration plugin for TiddlyWeb.
What this does is validate an OpenID and then create a TiddlyWeb user of that OpenID and assign a Role to it. This allows the system to go beyond a Policy of ‘ANY’ to one of ‘R:MEMBER’. This is a way to provide member access to people with openIds while not allowing all openids.
It uses a few optional configuration settings:
- 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.
Because tiddlywebplugins.templates is being used, the register.html and registered.html templates may be overriden per instance by creating a templates directory in the instance directory and putting new versions of the templates in there.
Copyright 2009, Chris Dent <cdent@peemore.com>
Licensed under the same terms at TiddlyWeb itself. http://tiddlyweb.com/
Release files for tiddlywebplugins.register 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tiddlywebplugins.register-0.3.tar.gz | 4.2 kB | Details |
Release files / tiddlywebplugins.register-0.3.tar.gz
| Download URL | tiddlywebplugins.register-0.3.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c431a33ad51e657a1972daea80e17ded26a06780f3786221a0a58593bf098354
|
|
BLAKE2b-256 checksum How to use checksums |
eb6189c5831cbee55ff3a6ffe949594352221d08559e935417e1e78b72f717c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |