A community based topic aggregation platform built on atproto
1package oauth
2
3import "time"
4
5const (
6 // Session cookie configuration
7 SessionMaxAge = 7 * 24 * 60 * 60 // 7 days in seconds
8
9 // Minimum security requirements
10 MinCookieSecretLength = 32 // bytes
11)
12
13// Time-based constants
14var (
15 TokenRefreshThreshold = 5 * time.Minute
16 SessionDuration = 7 * 24 * time.Hour
17)