Commit Graph

5 Commits

Author SHA1 Message Date
Fabian Grünbichler
362dd8eb9a api-server: extract, set and handle API token header
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-01-28 20:43:51 +01:00
Tim Marx
e045d0700e allow ticket in auth header as fallback
based on idea & RFC by Tim Marx, incorporating feedback by Thomas
Lamprecht. this will be extended to support API tokens in the
Authorization header as well, so make it generic.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-01-28 20:43:51 +01:00
Dietmar Maurer
5dfe8376ac extract_auth_cookie: always call uri_unescape($ticket)
should not harm.
2017-01-16 14:24:21 +01:00
Dietmar Maurer
c715437597 rework formatter registration
Do the whole thing inside PVE/APIServer/Formatter.pm
2017-01-14 10:42:33 +01:00
Dietmar Maurer
63307bebd9 add generic formatter framework 2017-01-14 09:53:44 +01:00