Versions in this module Expand all Collapse all v0 v0.0.2 Dec 10, 2017 Changes in this version + const PBKDF2KeyLength + const SchemePBKDF2 + func CreateAuthToken(name, salt, secret string, time int64) string + func DecodeAuthToken(token string) (username string, created time.Time, err error) + func ValidatePBKDF2(password, salt, derivedKey string, iterations int) bool + type UserContext struct + Database string + Name string + Roles []string + Salt string + func (c *UserContext) MarshalJSON() ([]byte, error) + type UserStore interface + UserCtx func(ctx context.Context, username string) (user *UserContext, err error) + Validate func(ctx context.Context, username, password string) (user *UserContext, err error) Other modules containing this package github.com/go-kivik/kivikd/v3