| 51 | } |
| 52 | |
| 53 | type ResumeTokenKeyProvider struct { |
| 54 | key jwtutils.SigningKeyManager |
| 55 | clock quartz.Clock |
| 56 | expiry time.Duration |
| 57 | } |
| 58 | |
| 59 | func NewResumeTokenKeyProvider(key jwtutils.SigningKeyManager, clock quartz.Clock, expiry time.Duration) ResumeTokenProvider { |
| 60 | if expiry <= 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected