Move LDAP code to LDAPAuthenticator. Use Authenticator for token_exchange with grant_type as well

This commit is contained in:
link0ff 2019-03-03 21:20:36 +02:00
commit 88a672fe88
4 changed files with 55 additions and 32 deletions

View file

@ -336,3 +336,8 @@ config :auto_linker,
* `sslopts`: additional SSL options
* `base`: LDAP base, e.g. "dc=example,dc=com"
* `uid`: attribute type to authenticate the user, e.g. when "cn", the filter will be "cn=username,base"
## Pleroma.Web.Auth.Authenticator
* `Pleroma.Web.Auth.PleromaAuthenticator`: default database authenticator
* `Pleroma.Web.Auth.LDAPAuthenticator`: LDAP authentication