Versions in this module Expand all Collapse all v0 v0.14.2 Feb 27, 2018 Changes in this version + type AnonAuth struct + func (AnonAuth) AddRecord(uid types.Uid, secret []byte, lifetime time.Duration) (int, auth.AuthErr) + func (AnonAuth) Authenticate(secret []byte) (types.Uid, int, time.Time, auth.AuthErr) + func (AnonAuth) GenSecret(uid types.Uid, authLvl int, lifetime time.Duration) ([]byte, time.Time, auth.AuthErr) + func (AnonAuth) Init(unused string) error + func (AnonAuth) IsUnique(secret []byte) (bool, auth.AuthErr) + func (AnonAuth) UpdateRecord(uid types.Uid, secret []byte, lifetime time.Duration) auth.AuthErr