Initial commit
CI / test (push) Canceled after 0s

This commit is contained in:
2026-09-12 22:22:17 +02:00
commit 904d14b64c
314 changed files with 31884 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package storage
import (
"time"
"gardomatic.kleiax.de/internal/auth"
)
// TokenModelInterface persists scoped, expiring authentication token hashes.
type TokenModelInterface interface {
New(userID int, ttl time.Duration, scope string) (auth.Token, error)
DeleteAllForUser(scope string, userID int) error
}