Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountDisabledError ¶
type AccountDisabledError struct{}
func (*AccountDisabledError) Error ¶
func (ade *AccountDisabledError) Error() string
type AccountLockedError ¶
type AccountLockedError struct{}
func (*AccountLockedError) Error ¶
func (ale *AccountLockedError) Error() string
type IPBlockedError ¶
type IPBlockedError struct{}
func (*IPBlockedError) Error ¶
func (ipbe *IPBlockedError) Error() string
type InvalidUsernamePasswordError ¶
type InvalidUsernamePasswordError struct {
AccountRemainingBeforeLocked int
IPRemainingBeforeLocked int
}
func (*InvalidUsernamePasswordError) Error ¶
func (iupe *InvalidUsernamePasswordError) Error() string
type PasswordValidator ¶
type PasswordValidatorError ¶
type PasswordValidatorError interface {
error
// contains filtered or unexported methods
}
type ValidatorImpl ¶
type ValidatorImpl struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator(db db.DB, ll loginlimit.LoginLimiter) *ValidatorImpl
Click to show internal directories.
Click to hide internal directories.