Stefan Reiter 26858dba84 server/rest: add ApiAuth trait to make user auth generic
This allows switching the base user identification/authentication method
in the rest server. Will initially be used for single file restore VMs,
where authentication is based on a ticket file, not the PBS user
backend (PAM/local).

To avoid putting generic types into the RestServer type for this, we
merge the two calls "extract_auth_data" and "check_auth" into a single
one, which can use whatever type it wants internally.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2021-04-08 13:57:57 +02:00
..
2021-04-08 12:23:54 +02:00
2021-03-14 19:18:35 +01:00
2021-01-26 09:54:55 +01:00
2020-10-14 11:20:07 +02:00
2021-03-10 16:39:57 +01:00
2021-03-10 16:39:57 +01:00
2020-12-05 10:45:08 +01:00
2020-10-12 14:11:57 +02:00
2021-04-07 12:34:31 +02:00