rctab.crud.auth

User authentication with Active Directory.

Functions

add_user(conn, oid, username)

Add an admin user.

check_user_access(conn, oid[, username, ...])

Check if a user has access rights.

load_cache(oid)

Load a user's token cache from the database.

remove_cache(oid)

Delete a user's token cache from the database.

save_cache(oid, cache)

Save a user's token cache to the database.

token_admin_verified([rbac])

Authenticate a user and check whether they are an admin.

token_user_verified([conn, token])

Get user RBAC information from database.