package
11.5.1+incompatible
Repository: https://github.com/grafana/grafana.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

GetConfig returns the LDAP config if LDAP is enabled otherwise it returns nil.
No description provided by the author
No description provided by the author
New creates the new LDAP connection.
No description provided by the author

# Constants

No description provided by the author
UsersMaxRequest is a max amount of users we can request via Users().

# Variables

ErrCouldNotFindUser is returned when username hasn't been found (not username+password).
ErrInvalidCredentials is returned if username and password do not match.

# Structs

AttributeMap is a struct representation for LDAP "attributes" setting.
Config holds parameters from the .ini config file.
GroupToOrgRole is a struct representation of LDAP config "group_mappings" setting.
MockConnection struct for testing.
No description provided by the author
Server is basic struct of LDAP authorization.
ServerConfig holds connection data to LDAP.
ServersConfig holds list of connections to LDAP.
No description provided by the author

# Interfaces

No description provided by the author
IConnection is interface for LDAP connection manipulation.
IServer is interface for LDAP authorization.