Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicAuthLDAP ¶
func BasicAuthLDAP(ldapAuth *LDAPAuth, next httprouter.Handle) httprouter.Handle
BasicAuthLDAP is a middleware wrapping the target HTTP HandlerFunc. It retrieves BasicAuth credentials and authenticate against LDAP.
Types ¶
type LDAPAuth ¶
type LDAPAuth struct {
// contains filtered or unexported fields
}
func NewLDAPAuth ¶
Click to show internal directories.
Click to hide internal directories.