added some README text to describe the basic auth feature

Signed-off-by: Lutz Freitag <lutz@gottliebtfreitag.de>
This commit is contained in:
Lutz Freitag
2019-02-24 18:27:08 -05:00
parent e1fde296c6
commit 71eb09546b

View File

@@ -133,6 +133,27 @@ Add the following to your `config.php`:
),
BasicAuth
------
Authenticate users by an [HTTP Basic access authentication][1] call.
HTTP server of your choice to authenticate. It should return HTTP 2xx for correct credentials and an appropriate other error code for wrong ones or refused access.
### Configuration
The only supported parameter is the URL of the web server where the authentication happens.
Add the following to your `config.php`:
'user_backends' => array(
array(
'class' => '\OCA\User_External\BasicAuth',
'arguments' => array('https://example.com/basic_auth'),
),
),
[1]: https://en.wikipedia.org/wiki/Basic_access_authentication
Alternatives
------------
Other extensions allow connecting to external user databases directly via SQL, which may be faster: