
* remove search_group Signed-off-by: Jens Langhammer <jens@goauthentik.io> * make api operations cleaerer Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix migration Signed-off-by: Jens Langhammer <jens@goauthentik.io> * actually use get Signed-off-by: Jens Langhammer <jens@goauthentik.io> * use correct api client for ldap Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix migration Signed-off-by: Jens Langhammer <jens@goauthentik.io> * unrelated: fix migration warning Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add docs Signed-off-by: Jens Langhammer <jens@goauthentik.io> * update docs Signed-off-by: Jens Langhammer <jens@goauthentik.io> * unrelated: fix styling issue in dark mode Signed-off-by: Jens Langhammer <jens@goauthentik.io> * unrelated-ish fix button order in wizard Signed-off-by: Jens Langhammer <jens@goauthentik.io> * unrelated: fix missing css import Signed-off-by: Jens Langhammer <jens@goauthentik.io> * Optimised images with calibre/image-actions * Update index.md Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com> Signed-off-by: Jens L. <jens@beryju.org> * Update index.md Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com> Signed-off-by: Jens L. <jens@beryju.org> * Apply suggestions from code review Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com> Signed-off-by: Jens L. <jens@beryju.org> * update release notes based on new template Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Signed-off-by: Jens L. <jens@beryju.org> Co-authored-by: authentik-automation[bot] <135050075+authentik-automation[bot]@users.noreply.github.com> Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
42 lines
878 B
Go
42 lines
878 B
Go
package server
|
|
|
|
import (
|
|
"beryju.io/ldap"
|
|
|
|
"goauthentik.io/api/v3"
|
|
"goauthentik.io/internal/outpost/ldap/flags"
|
|
)
|
|
|
|
type LDAPServerInstance interface {
|
|
GetAPIClient() *api.APIClient
|
|
GetOutpostName() string
|
|
|
|
GetAuthenticationFlowSlug() string
|
|
GetInvalidationFlowSlug() string
|
|
GetAppSlug() string
|
|
GetProviderID() int32
|
|
|
|
UserEntry(u api.User) *ldap.Entry
|
|
|
|
GetBaseDN() string
|
|
GetBaseGroupDN() string
|
|
GetBaseVirtualGroupDN() string
|
|
GetBaseUserDN() string
|
|
GetMFASupport() bool
|
|
|
|
GetUserDN(string) string
|
|
GetGroupDN(string) string
|
|
GetVirtualGroupDN(string) string
|
|
|
|
GetUserUidNumber(api.User) string
|
|
GetUserGidNumber(api.User) string
|
|
GetGroupGidNumber(api.Group) string
|
|
|
|
UsersForGroup(api.Group) []string
|
|
|
|
GetFlags(dn string) *flags.UserFlags
|
|
SetFlags(dn string, flags *flags.UserFlags)
|
|
|
|
GetNeededObjects(scope int, baseDN string, filterOC string) (bool, bool)
|
|
}
|