added some README text to describe the basic auth feature
Signed-off-by: Lutz Freitag <lutz@gottliebtfreitag.de>
This commit is contained in:
21
README.md
21
README.md
@@ -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
|
Alternatives
|
||||||
------------
|
------------
|
||||||
Other extensions allow connecting to external user databases directly via SQL, which may be faster:
|
Other extensions allow connecting to external user databases directly via SQL, which may be faster:
|
||||||
|
|||||||
Reference in New Issue
Block a user