fix: json marshal/unmarshal

This commit is contained in:
yusing
2025-04-24 19:57:27 +08:00
parent 080bbc18eb
commit 8363dfe257
5 changed files with 117 additions and 43 deletions

View File

@@ -34,7 +34,7 @@ type sessionClaims struct {
type sessionID string
var oauthRefreshTokens jsonstore.Typed[oauthRefreshToken]
var oauthRefreshTokens jsonstore.MapStore[oauthRefreshToken]
var (
defaultRefreshTokenExpiry = 30 * 24 * time.Hour // 1 month