summaryrefslogtreecommitdiffstats
path: root/einterfaces
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-09-01 14:28:15 -0400
committerGitHub <noreply@github.com>2017-09-01 14:28:15 -0400
commite2042c4b6579aa367bdf764ddecbca4e1bd38772 (patch)
treedc92c71098412235cb3a582daafd395af7b9afe4 /einterfaces
parentb6456a675d140d6d80eb0874a5b6a89008e28eaa (diff)
downloadchat-e2042c4b6579aa367bdf764ddecbca4e1bd38772.tar.gz
chat-e2042c4b6579aa367bdf764ddecbca4e1bd38772.tar.bz2
chat-e2042c4b6579aa367bdf764ddecbca4e1bd38772.zip
Add built-in plugin for getting LDAP attributes (#7317)
Diffstat (limited to 'einterfaces')
-rw-r--r--einterfaces/ldap.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/einterfaces/ldap.go b/einterfaces/ldap.go
index 721c8d30e..8ca042777 100644
--- a/einterfaces/ldap.go
+++ b/einterfaces/ldap.go
@@ -10,6 +10,7 @@ import (
type LdapInterface interface {
DoLogin(id string, password string) (*model.User, *model.AppError)
GetUser(id string) (*model.User, *model.AppError)
+ GetUserAttributes(id string, attributes []string) (map[string]string, *model.AppError)
CheckPassword(id string, password string) *model.AppError
SwitchToLdap(userId, ldapId, ldapPassword string) *model.AppError
ValidateFilter(filter string) *model.AppError