Documentation
¶
Index ¶
- Constants
- type BasicPgSQLHandlerType
- func (hdlr *BasicPgSQLHandlerType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, ...) (err error)
- func (hdlr *BasicPgSQLHandlerType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, ...) (err error)
- func (hdlr *BasicPgSQLHandlerType) ServeHTTP(www http.ResponseWriter, req *http.Request)
Constants ¶
View Source
const NIterations = 5000
NIterations is the number of iterations that pbkdf2 hasing will use
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicPgSQLHandlerType ¶
type BasicPgSQLHandlerType struct { Next http.Handler // Paths []string // Realm string // HashUsername bool // If true then the email address is hashed before retreval HashUsernameSalt string // Optional - must be application wide salt - not the same as per-user salt that is generated. LineNo int // // contains filtered or unexported fields }
BasicPgSQLHandlerType configuration for this middleare
func NewBasicAuthPgSQLServer ¶
func NewBasicAuthPgSQLServer(n http.Handler, p []string, realm string) *BasicPgSQLHandlerType
NewBasicAuthPgSQLServer return a default initialized BasicPgSQLHandlerType -- look in the test code to see if additional initialization was performed.
func (*BasicPgSQLHandlerType) InitializeWithConfigData ¶
func (hdlr *BasicPgSQLHandlerType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)
func (*BasicPgSQLHandlerType) PreValidate ¶
func (hdlr *BasicPgSQLHandlerType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)
func (*BasicPgSQLHandlerType) ServeHTTP ¶
func (hdlr *BasicPgSQLHandlerType) ServeHTTP(www http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.