Root CherryPy Python Module

Root class to handle social auth.

class pacifica.auth.root.Root(sa_module, app_dir)[source]

Root class to integrate social auth.

__init__(sa_module, app_dir)[source]

Save the sa module and app directory.

app(*args)[source]

Serve the app or redirect to login.

done()[source]

Done with the social auth login.

index()[source]

If the user isn’t there redirect to login.

logout()[source]

Logout the user deleting the session.