Documentation ¶
Overview ¶
Package krakend-ldap provides a auth methods using go-ldap lib. Sample backend extra config
... "extra_config": { ... "github.com/p3ym4n/krakend-ldap": { "type": "auth", // or "token" }, ... }, ...
Index ¶
Constants ¶
View Source
const ( AUTH = "auth" TOKEN = "token" )
View Source
const Namespace = "github.com/p3ym4n/krakend-ldap"
Variables ¶
View Source
var ZeroCfg = Config{ Type: TOKEN, }
ZeroCfg is the zero value for the Config struct
Functions ¶
func ProxyFactory ¶
func ProxyFactory(pf proxy.Factory) proxy.FactoryFunc
ProxyFactory creates an proxy factory over the injected one adding a JSON Schema validator middleware to the pipe when required
Types ¶
Click to show internal directories.
Click to hide internal directories.