|
| constructor (__7_ code log) |
|
bool | intrinsic () |
|
string | getName () |
|
hash | deleteUser (string user) |
|
| deleteClient (string client_id, string user) |
|
bool | authenticateUser (string user, __7_ hash auth, string pass, reference rh) |
|
__7_ hash | updateUser (string user, __7_ list role_cmds, __7_ list storage_cmds, *softstring pass, *string name) |
|
__7_ hash | loadUser (string user, string pass) |
|
__7_ hash | getUser (string user) |
|
__7_ hash | passwd (string user, __7_ hash auth, softstring old_pwd, softstring new_pwd) |
|
hash | addUser (string user, __7_ list role_cmds, string pass, string name) |
|
__7_ list | listUsers () |
|
bool | hasStorage () |
|
| getUserInfo (reference< hash > user_info) |
|
__7_ hash< auto > | getClient (string id) |
|
__7_ hash< auto > | getClients (__7_ string username) |
| Returns hash of clients for the given user. If no username is provided, it returns all clients. More...
|
|
nothing | reload () |
|
| updateClientPerms (string user, hash< auto > roles_perms) |
| Updates the users' clients' permissions so that they don't permit anything besides what is in roles_perms.
|
|
hash< auto > | addClient (hash< auto > client_info) |
|
hash< auto > | updateClient (hash< auto > client_info) |
|
__7_ string | validateToken (hash< auto > cx, string token) |
|
|
__7_ code | logfunc |
| log closure/call ref
|
|
string | data_tbs_name |
|
string | index_tbs_name |
|
hash< auto > | clients_per_user = {} |
|
hash< auto > | clients = {} |
|
bool | initialized = False |
|
◆ getClients()
__7_ hash<auto> QorusRbacOAuth2::QorusRbacOAuth2::getClients |
( |
__7_ string |
username | ) |
|
Returns hash of clients for the given user. If no username is provided, it returns all clients.
Validates authorization token used in Authorization Code Grant flow
- Parameters
-
username | If provided, only return clients for that user. Return all clients otherwise. |
- Returns
- hash of clients (can be empty); NOTHING if clients are requested for a non-existent user
◆ intrinsic()
bool QorusRbacOAuth2::QorusRbacOAuth2::intrinsic |
( |
| ) |
|
The documentation for this class was generated from the following file:
- doxygen/QorusRbacOAuth2.qm