From 5aab158c0b0db64b6136fe2fdaca8b8e9e3bd811 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 9 Feb 2018 00:11:04 +0100 Subject: Update vendor (github.com/mattermost) --- .../mattermost/platform/einterfaces/ldap.go | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 vendor/github.com/mattermost/platform/einterfaces/ldap.go (limited to 'vendor/github.com/mattermost/platform/einterfaces/ldap.go') diff --git a/vendor/github.com/mattermost/platform/einterfaces/ldap.go b/vendor/github.com/mattermost/platform/einterfaces/ldap.go deleted file mode 100644 index 721c8d30..00000000 --- a/vendor/github.com/mattermost/platform/einterfaces/ldap.go +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -package einterfaces - -import ( - "github.com/mattermost/platform/model" -) - -type LdapInterface interface { - DoLogin(id string, password string) (*model.User, *model.AppError) - GetUser(id string) (*model.User, *model.AppError) - CheckPassword(id string, password string) *model.AppError - SwitchToLdap(userId, ldapId, ldapPassword string) *model.AppError - ValidateFilter(filter string) *model.AppError - Syncronize() *model.AppError - StartLdapSyncJob() - SyncNow() - RunTest() *model.AppError - GetAllLdapUsers() ([]*model.User, *model.AppError) -} - -var theLdapInterface LdapInterface - -func RegisterLdapInterface(newInterface LdapInterface) { - theLdapInterface = newInterface -} - -func GetLdapInterface() LdapInterface { - return theLdapInterface -} -- cgit v1.2.3