]> git.proxmox.com Git - pve-access-control.git/commit
API token: add check_token_exist API helper
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 21 Jan 2020 12:54:03 +0000 (13:54 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 28 Jan 2020 19:59:40 +0000 (20:59 +0100)
commit571e9d062e9a81cdf24176a566d8a8eccee32276
tree0f2c8f2ab273c47f1acf1e10275e966635aa9cd9
parent28e3dc05e21e735a252657b62153eb0e81c23733
API token: add check_token_exist API helper

the helper is modeled after the corresponding user method.

the 'tokenid' option goes into PVE::AccessControl, since we need it in
multiple API modules.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/AccessControl.pm