Documentation ¶
Index ¶
- type BasicAuth
- func (BasicAuth) AddRecord(uid types.Uid, secret []byte, lifetime time.Duration) (int, auth.AuthErr)
- func (BasicAuth) Authenticate(secret []byte) (types.Uid, int, time.Time, auth.AuthErr)
- func (BasicAuth) GenSecret(uid types.Uid, authLvl int, lifetime time.Duration) ([]byte, time.Time, auth.AuthErr)
- func (BasicAuth) Init(unused string) error
- func (BasicAuth) IsUnique(secret []byte) (bool, auth.AuthErr)
- func (BasicAuth) UpdateRecord(uid types.Uid, secret []byte, lifetime time.Duration) auth.AuthErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.