Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureAuthentication ¶
func ConfigureAuthentication(authentication map[string]interface{})
Types ¶
type Authentication ¶
type LDAPAuth ¶
type LDAPAuth struct { Addr string `json:"addr"` BaseDN string `json:"baseDN"` Filter string `json:"filter"` Network string `json:"network"` UsernameFormat string `json:"usernameFormat"` Email string `json:"email"` FirstName string `json:"firstName"` FullName string `json:"FullName"` }
func NewLDAPAuth ¶
func NewLDAPAuth(config json.RawMessage) (LDAPAuth, error)
type TrustedAuth ¶
type TrustedAuth struct{}
func NewTrustedAuth ¶
func NewTrustedAuth() (TrustedAuth, error)
func (TrustedAuth) Authenticate ¶
Click to show internal directories.
Click to hide internal directories.