Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractAuthenticator ¶
type AbstractAuthenticator struct{}
func (AbstractAuthenticator) GetAdvertiseAuthentication ¶
func (aa AbstractAuthenticator) GetAdvertiseAuthentication(authType []string) string
func (AbstractAuthenticator) GetMailSize ¶
func (aa AbstractAuthenticator) GetMailSize(login string, defaultSize int64) int64
type Authenticator ¶
type Authenticator interface { VerifyLOGIN(login, password string) bool //VerifyPLAIN(login, password string) bool //VerifyGSSAPI(login, password string) bool //VerifyDIGESTMD5(login, password string) bool //VerifyMD5(login, password string) bool VerifyCRAMMD5(challenge, authString string) bool GenerateCRAMMD5Challenge() (string, error) ExtractLoginFromAuthString(authString string) string DecodeLogin(login string) (string, error) GetAdvertiseAuthentication(authType []string) string GetMailSize(login string, defaultSize int64) int64 }
type AuthenticatorCreator ¶
type AuthenticatorCreator func(config backends.BackendConfig) Authenticator
Click to show internal directories.
Click to hide internal directories.