Documentation ¶
Index ¶
- type AnonAuth
- func (AnonAuth) AddRecord(rec *auth.Rec, secret []byte) (auth.Level, error)
- func (AnonAuth) Authenticate(secret []byte) (*auth.Rec, error)
- func (AnonAuth) DelRecords(uid types.Uid) error
- func (AnonAuth) GenSecret(rec *auth.Rec) ([]byte, time.Time, error)
- func (AnonAuth) Init(unused string) error
- func (AnonAuth) IsUnique(secret []byte) (bool, error)
- func (AnonAuth) UpdateRecord(rec *auth.Rec, secret []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnonAuth ¶
type AnonAuth struct{}
AnonAuth is the singleton instance of the anonymous authorizer.
func (AnonAuth) Authenticate ¶
Authenticate is not supported. It's used only at account creation time.
func (AnonAuth) DelRecords ¶
DelRecords is a noop which always succeeds.
Click to show internal directories.
Click to hide internal directories.