package
1.4.0
Repository: https://github.com/krotik/eliasdb.git
Documentation: pkg.go.dev

# Functions

InitACLs initializes the access control list object.
LoginEndpointInst creates a new endpoint handler.
LogoutEndpointInst creates a new endpoint handler.
UserEndpointInst creates a new endpoint handler.
WhoAmIEndpointInst creates a new endpoint handler.

# Constants

Access request types .
Access request types .
Access request results .
EndpointLogin is the login endpoint definition (rooted).
EndpointLogout is the logout endpoint URL (rooted).
EndpointUser is the user endpoint URL (rooted).
EndpointWhoAmI is the current user endpoint URL (rooted).
Access request results .
Access request types .
Access request types .

# Variables

AccessManagementEndpointMap contains endpoints which can manage access rights */.
ACL is the global AccessControlLists object which should be used to check user access rights.
AuthHandler is a wrapper object which has a HandleFunc similar to http.HandleFunc.
CallbackSessionExpired handles requests where the session has expired.
CallbackUnauthorized handles requests which are unauthorized.
DebounceTime default debounce time for each failed logins */.
DefaultAccessDB is the default access table for EliasDB */.
LogAccess is used to log access requests */.
PublicAccessControlEndpointMap contains endpoints which should be publically available when access control is used */.
UserDB is the global user database which holds the password hashes and user details.

# Structs

AccessControlLists store the access rights of groups and which users are member of which groups.