Ugh Google Groups Post button is too close to the bottom of the text box.
In your project __init__.py you use it the same way you would use Pyramid's authentication policy, but with one extra argument:
import myproject.lib.AuthTktAuthPolicy
authn_policy = AuthTktAuthPolicy(
callback=principal_finder,
secret=settings['auth.secret'],
cookie_name=settings['auth.key'], sibling_domains=True)
config = Configurator(settings=settings, authentication_policy=authn_policy)
Maybe one day I will make this a proper plugin, but this will get you going for now.
--Jason