1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00

[WIP] Basic LDAP connectivity

This commit is contained in:
sauls8t 2018-08-28 10:19:22 +01:00
parent f28b7497fa
commit 8d3dfcc3c7
72 changed files with 5039 additions and 3548 deletions

View file

@ -18,3 +18,14 @@ type AuthenticationModel struct {
Token string `json:"token"`
User user.User `json:"user"`
}
const (
// AuthProviderDocumize is email/password based
AuthProviderDocumize = "documize"
// AuthProviderKeycloak performs login and user sync with external provider
AuthProviderKeycloak = "keycloak"
// AuthProviderLDAP performs login and user sync with external provider
AuthProviderLDAP = "ldap"
)