add settings object for auth provider

This commit is contained in:
2021-09-02 03:30:14 +03:00
parent cb5756ea76
commit 5e24d81415
10 changed files with 110 additions and 12 deletions

View File

@ -22,9 +22,9 @@ libalpm and AUR related configuration.
Base authorization settings.
* `target` - specifies authorization provider, string, optional, default `disabled`. Allowed values are `disabled`, `configuration`.
* `allowed_paths` - URI paths (exact match) which can be accessed without authorization, space separated list of strings, optional.
* `allowed_paths_groups` - URI paths prefixes which can be accessed without authorization, space separated list of strings, optional.
* `enabled` - enables web services authorization, boolean, optional, default `no`.
* `salt` - password hash salt, string, required in case if authorization enabled (automatically generated by `create-user` subcommand).
## `auth:*` groups