diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-07-20 04:49:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-07-20 04:49:55 +0000 |
commit | ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb (patch) | |
tree | 7a900833aad3ccc685712c6c2a7d87576d54f427 /web/api/web_api.h | |
parent | Adding upstream version 1.40.1. (diff) | |
download | netdata-upstream/1.41.0.tar.xz netdata-upstream/1.41.0.zip |
Adding upstream version 1.41.0.upstream/1.41.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | web/api/web_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web/api/web_api.h b/web/api/web_api.h index 0ca91841f..840ac8dcb 100644 --- a/web/api/web_api.h +++ b/web/api/web_api.h @@ -9,6 +9,12 @@ #include "web/api/health/health_cmdapi.h" #include "web/api/queries/weights.h" +extern bool netdata_is_protected_by_bearer; +extern DICTIONARY *netdata_authorized_bearers; +bool api_check_bearer_token(struct web_client *w); +bool extract_bearer_token_from_request(struct web_client *w, char *dst, size_t dst_len); +void bearer_tokens_init(void); + struct web_api_command { const char *command; uint32_t hash; |