Function
expiresAtFrom
(token: OAuth2TokenResponse)
Source from the content-addressed store, hash-verified
| 349 | `oauth-client:${owner}:${slug}:secret`; |
| 350 | |
| 351 | const expiresAtFrom = (token: OAuth2TokenResponse): number | null => |
| 352 | typeof token.expires_in === "number" ? Date.now() + token.expires_in * 1000 : null; |
| 353 | |
| 354 | /** Error message surfaced when a redirect-requiring OAuth flow runs on an |
| 355 | * executor that was constructed without a `redirectUri`. Previously this path |
Tested by
no test coverage detected