Versions in this module Expand all Collapse all v0 v0.8.2 Nov 19, 2026 v0.8.1 Nov 19, 2026 v0.8.0 Nov 19, 2026 Changes in this version + const CookieName + const DefaultAbsolute + const DefaultIdle + const DefaultMax + var ErrStale = errors.New("session identity awaits its refresh") + func IdentityFrom(ctx context.Context) (oidc.Identity, bool) + type Info struct + AuditID string + Identity oidc.Identity + Issuer string + Subject string + func FromContext(ctx context.Context) (Info, bool) + type Options struct + Absolute time.Duration + Audit oidc.Auditor + ClientID string + Clock clock.WithTicker + CookieSecure bool + EndSession func() string + Idle time.Duration + Logger *slog.Logger + Max int + Metrics *obs.Registry + RedirectURL string + Refresher Refresher + type Refresher interface + Refresh func(ctx context.Context, refreshToken string) (oidc.Result, error) + type Store struct + func New(o Options) *Store + func (s *Store) Complete(w http.ResponseWriter, r *http.Request, res oidc.Result) + func (s *Store) Logout(w http.ResponseWriter, r *http.Request) + func (s *Store) Me(w http.ResponseWriter, r *http.Request) + func (s *Store) Middleware(next http.Handler) http.Handler + func (s *Store) Run(ctx context.Context) + func (s *Store) StillSignedIn(w http.ResponseWriter, r *http.Request) (*http.Request, error)