Revoke records that the sessions with key issued at or before revokedAt are revoked. If key is already recorded, the later of the two times is kept. The record is needed until expiresAt, when every such session has expired, and may be dropped after that.
(ctx context.Context, key string, revokedAt, expiresAt time.Time)
| 117 | // two times is kept. The record is needed until expiresAt, when every |
| 118 | // such session has expired, and may be dropped after that. |
| 119 | Revoke(ctx context.Context, key string, revokedAt, expiresAt time.Time) error |
| 120 | |
| 121 | // RevokedAt returns the time recorded for key, or the zero time if |
| 122 | // none is recorded (or its record has expired). |
no outgoing calls