Versions in this module Expand all Collapse all v0 v0.1.0 Oct 23, 2019 Changes in this version + type Accounts struct + AuthType string + PasswordLifetime time.Duration + Store account.Store + func (s Accounts) Auth(name string, attempt []byte) (*AuthResult, error) + func (s Accounts) Get(name string) (*account.Account, error) + func (s Accounts) New(name string) (*account.Account, error) + func (s Accounts) NewChallenge(a *account.Account, v []byte) error + func (s Accounts) Update(a *account.Account) error + type AuthResult struct + Account *account.Account + Expired bool + Locked bool + NotExist bool + Success bool