2022-10-19 15:37:13 +00:00
|
|
|
{
|
|
|
|
|
"id": "authbasic",
|
|
|
|
|
"name": "Auth basic",
|
|
|
|
|
"description": "Enforce login before accessing a resource or the whole site using HTTP basic auth method.",
|
2023-04-28 08:25:47 +00:00
|
|
|
"version": "1.0",
|
2023-04-27 18:27:07 +00:00
|
|
|
"stream": "no",
|
2022-10-19 15:37:13 +00:00
|
|
|
"settings": {
|
|
|
|
|
"USE_AUTH_BASIC": {
|
|
|
|
|
"context": "multisite",
|
|
|
|
|
"default": "no",
|
|
|
|
|
"help": "Use HTTP basic auth",
|
|
|
|
|
"id": "use-auth-basic",
|
|
|
|
|
"label": "Use HTTP basic auth",
|
|
|
|
|
"regex": "^(yes|no)$",
|
|
|
|
|
"type": "check"
|
|
|
|
|
},
|
|
|
|
|
"AUTH_BASIC_LOCATION": {
|
|
|
|
|
"context": "multisite",
|
|
|
|
|
"default": "sitewide",
|
|
|
|
|
"help": "URL of the protected resource or sitewide value.",
|
|
|
|
|
"id": "auth-basic-location",
|
2022-12-14 09:56:52 +00:00
|
|
|
"label": "Auth basic Location",
|
|
|
|
|
"regex": "^(sitewide|/[a-zA-Z0-9-./]*)$",
|
2022-10-19 15:37:13 +00:00
|
|
|
"type": "text"
|
|
|
|
|
},
|
|
|
|
|
"AUTH_BASIC_USER": {
|
|
|
|
|
"context": "multisite",
|
|
|
|
|
"default": "changeme",
|
|
|
|
|
"help": "Username",
|
|
|
|
|
"id": "auth-basic-user",
|
2022-12-14 09:56:52 +00:00
|
|
|
"label": "Auth basic Username",
|
|
|
|
|
"regex": "^[\\w-]+",
|
2022-10-19 15:37:13 +00:00
|
|
|
"type": "text"
|
|
|
|
|
},
|
|
|
|
|
"AUTH_BASIC_PASSWORD": {
|
|
|
|
|
"context": "multisite",
|
|
|
|
|
"default": "changeme",
|
|
|
|
|
"help": "Password",
|
|
|
|
|
"id": "auth-basic-password",
|
|
|
|
|
"label": "Password",
|
2022-12-14 09:56:52 +00:00
|
|
|
"regex": "^.+",
|
2023-01-25 10:30:39 +00:00
|
|
|
"type": "password"
|
2022-10-19 15:37:13 +00:00
|
|
|
},
|
|
|
|
|
"AUTH_BASIC_TEXT": {
|
|
|
|
|
"context": "multisite",
|
|
|
|
|
"default": "Restricted area",
|
|
|
|
|
"help": "Text to display",
|
|
|
|
|
"id": "auth-basic-text",
|
|
|
|
|
"label": "Text",
|
2022-12-14 09:56:52 +00:00
|
|
|
"regex": "^.+",
|
2022-10-19 15:37:13 +00:00
|
|
|
"type": "text"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|