]> git.proxmox.com Git - pve-access-control.git/commit
API token: add verification method
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 21 Jan 2020 12:54:05 +0000 (13:54 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 28 Jan 2020 19:59:49 +0000 (20:59 +0100)
commit35c3ca0fc8fa9f6e2db675359809b89c3a46139f
tree67a93a85b98cb858a46c9b7ccabead0754ca45e2
parent3a540a697f24ff981919bade6e9de0e7105fd534
API token: add verification method

which checks that the user and token exist and are not expired, and then
generates the string to be matched with the pmxcfs-stored token shadow
config file.

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