Added custom auth support
windows / build (push) Successful in 5m0s

This commit is contained in:
Torbjörn Molin committed 2026-11-09 12:56:54 +01:00
1 parent ae055be9cc
commit 1e7f8678eb
9 files changed
+377 -97

No files matched your search

+6 -1
View File
@@ -176,6 +176,11 @@ pub mod auth {
pub const NOT_SET: &str = "Not set";
pub const BASIC: &str = "Basic";
pub const BEARER: &str = "Bearer token";
pub const CUSTOM_HEADER: &str = "Custom header";
pub const HEADER_NAME: &str = "Header";
pub const VALUE: &str = "Value";
pub const CUSTOM_NOTE: &str =
"Sent as `Header: value` instead of Authorization; a request marks it with `# @auth-header Header`.";
pub const USERNAME: &str = "Username";
pub const PASSWORD: &str = "Password";
pub const BASIC_NOTE: &str =
@@ -184,7 +189,7 @@ pub mod auth {
pub const HEADER_VALUE: &str = "Header value";
pub const NO_AUTH_SET: &str = "No Authorization header, not even the folder's (`# @no-auth`).";
pub const CUSTOM: &str = "Custom Authorization header:";
pub const SECRETS_NOTE: &str = "Auth is just the Authorization header; put secrets in the private env file.";
pub const SECRETS_NOTE: &str = "Auth is just a header; put secrets in the private env file.";
pub const NOT_IN_COLLECTION: &str = "Not in a collection, so there is nothing to inherit.";
pub const USES: &str = "Uses";