Versions in this module Expand all Collapse all v0 v0.7.0 Nov 21, 2026 Changes in this version + const LoginPath + const LogoutPath + const MePath + const TokensPath + func CookieName(s *settings.Settings) string + func LoginURL(redirect string) string + func SafeRedirect(target string) string + func UserOf(m *accounts.Manager, a *db.Account) *webaccess.SocketClientRequest + type Login struct + func New(store db.DataStore, authn *oidc.Authenticator, cfg *settings.Settings, ...) *Login + func (l *Login) Available() bool + func (l *Login) Middleware() fiber.Handler + func (l *Login) OnLogout(fn func(sessionID string)) + func (l *Login) Register(app fiber.Router) + func (l *Login) SetAuthenticator(a *oidc.Authenticator) + type Me struct + Admin bool + DisplayName string + LoggedIn bool + LoginAvailable bool + Tokens bool + Username string + type OwnApp struct + CreatedAt int64 + ID string + Name string + Pads string + Scopes []string + type OwnScope struct + Description string + Name string + PadScoped bool + type OwnToken struct + CreatedAt int64 + ExpiresAt *int64 + ID string + LastUsedAt *int64 + LastUsedIP string + Name string + Pads string + Prefix string + Scopes []string + Status string + type OwnTokens struct + Apps []OwnApp + Key string + KeyID string + KeyName string + MaxLifetimeDays int + Reload bool + RequireExpiry bool + Scopes []OwnScope + Tokens []OwnToken