Documentation ¶
Index ¶
- type BasicAuth
- func (BasicAuth) AddRecord(rec *auth.Rec, secret []byte) (auth.Level, error)
- func (BasicAuth) Authenticate(secret []byte) (*auth.Rec, error)
- func (BasicAuth) DelRecords(uid types.Uid) error
- func (BasicAuth) GenSecret(rec *auth.Rec) ([]byte, time.Time, error)
- func (BasicAuth) Init(unused string) error
- func (BasicAuth) IsUnique(secret []byte) (bool, error)
- func (BasicAuth) UpdateRecord(rec *auth.Rec, secret []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicAuth ¶
type BasicAuth struct{}
BasicAuth is the type to map authentication methods to.
func (BasicAuth) Authenticate ¶
Authenticate checks login and password.
Click to show internal directories.
Click to hide internal directories.