Versions in this module Expand all Collapse all v0 v0.3.7 Aug 4, 2026 Changes in this version + func NewCachedAuthenticationService(base authentication.IAuthenticationService) authentication.IAuthenticationService + type CachedAuthenticationService struct + func (c *CachedAuthenticationService) AddUser(username, password string) (authentication.User, error) + func (c *CachedAuthenticationService) Authenticate(username string, password string) (string, error) + func (c *CachedAuthenticationService) AuthenticateByToken(token string) (string, error) + func (c *CachedAuthenticationService) DeleteUser(userID string) error + func (c *CachedAuthenticationService) HasUser(userID string) (bool, error) + func (c *CachedAuthenticationService) ListUsers(offset, limit int64) (model.PaginationResult[authentication.User], error) + func (c *CachedAuthenticationService) Setup() error + func (c *CachedAuthenticationService) SrvImplName() scene.ImplName + func (c *CachedAuthenticationService) UpdateUser(user authentication.User) error + func (c *CachedAuthenticationService) UserByEmail(email string) (authentication.User, error) + func (c *CachedAuthenticationService) UserById(userID string) (authentication.User, error) + func (c *CachedAuthenticationService) UserByName(username string) (authentication.User, error)