You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add storage methods for upstream token refresh #3915
Add storage-layer methods that the upstream token refresh service will depend on.
What
UpdateUpstreamTokens on UpstreamTokenStorage — atomically updates token values for an existing session and resets the sliding-window TTL.
SessionRevoker interface with RevokeSessionByTSID — revokes all internal access and refresh tokens where the session's upstream session ID matches the given tsid. Implemented on MemoryStorage using the existing O(n) scan pattern.
Why
Foundation for the UpstreamTokenService. Separated from the service implementation to keep PRs focused.
Activity