auth.base module

Provides the base class for every backend.

class auth.base.Backend[source]

Bases: object

group_added(node, group_name)[source]

Called when a group has been added.

group_removed(node, group_name)[source]

Called when a group has been removed.

load()[source]

Called when the backend is loaded.

permission_added(node, permission, server_id)[source]

Called when a permission has been added.

permission_removed(node, permission, server_id)[source]

Called when a permission has been removed.

sync()[source]

Synchronize the auth_manager with the backend.

unload()[source]

Called when the backend is unloaded.

name

Return the name of the backend.

options = {}