Documentation ¶ Index ¶ type Generic func (g *Generic) Authenticate(ctx context.Context, bindDN string, bindPassword []byte) bool func (g *Generic) Authorize(ctx context.Context, req *ldap.SearchRequest) ([]*ldap.SearchResult, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Generic ¶ type Generic struct { Logger *logrus.Logger Config *Config } func (*Generic) Authenticate ¶ func (g *Generic) Authenticate(ctx context.Context, bindDN string, bindPassword []byte) bool func (*Generic) Authorize ¶ func (g *Generic) Authorize(ctx context.Context, req *ldap.SearchRequest) ([]*ldap.SearchResult, error) Source Files ¶ View all Source files generic.go Click to show internal directories. Click to hide internal directories.