Documentation
¶
Index ¶
Constants ¶
View Source
const Namespace = "github.com/gosha20777/krakend-cookie-auth"
Namespace is the key to look for extra configuration details
Variables ¶
This section is empty.
Functions ¶
func ConfigGetter ¶
func ConfigGetter(e config.ExtraConfig) interface{}
ConfigGetter extracts the credentials from the extra config details
Types ¶
type Credentials ¶
Credentials contains the pair user:pass
type Validator ¶
Validator defines the interface for all the possible validation processes
func NewCredentialsValidator ¶
func NewCredentialsValidator(credentials Credentials) Validator
NewCredentialsValidator creates a validator for a given credentials pair