Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedMech = errors.New("Unsupported SASL mechanism")
)
Functions ¶
Types ¶
type FailingSASLServ ¶ added in v0.2.0
type FailingSASLServ struct{ Err error }
type SASLAuth ¶ added in v0.2.0
SASLAuth is a wrapper that initializes sasl.Server using authenticators that call maddy module objects.
It supports reporting of multiple authorization identities so multiple accounts can be associated with a single set of credentials.
func (*SASLAuth) AddProvider ¶ added in v0.2.0
AddProvider adds the SASL authentication provider to its mapping by parsing the 'auth' configuration directive.
func (*SASLAuth) CreateSASL ¶ added in v0.2.0
func (s *SASLAuth) CreateSASL(mech string, remoteAddr net.Addr, successCb func(identity string) error) sasl.Server
CreateSASL creates the sasl.Server instance for the corresponding mechanism.
func (*SASLAuth) SASLMechanisms ¶ added in v0.2.0
Directories ¶
Path | Synopsis |
---|---|
shadow package implements utilities for parsing and using shadow password database on Unix systems.
|
shadow package implements utilities for parsing and using shadow password database on Unix systems. |
Click to show internal directories.
Click to hide internal directories.