Method
DeleteRefreshTokenSession
(ctx context.Context, signature string)
Source from the content-addressed store, hash-verified
| 420 | } |
| 421 | |
| 422 | func (s *Storage) DeleteRefreshTokenSession(ctx context.Context, signature string) error { |
| 423 | _, err := s.db(ctx).Exec(ctx, |
| 424 | `DELETE FROM oauth_refresh_tokens WHERE signature = $1`, signature) |
| 425 | return err |
| 426 | } |
| 427 | |
| 428 | // RotateRefreshToken marks the refresh row inactive (via CAS) and |
| 429 | // ALSO revokes every access token for the same request_id. Without |
Callers
nothing calls this directly
Tested by
no test coverage detected