(owner: Owner, slug: OAuthClientSlug)
| 394 | /** Where an OAuth app's client secret is stored in the default writable |
| 395 | * provider — derived solely from the app's (owner, slug) identity. */ |
| 396 | const clientSecretItemId = (owner: Owner, slug: OAuthClientSlug): string => |
| 397 | `oauth-client:${owner}:${slug}:secret`; |
| 398 | |
| 399 | const expiresAtFrom = (token: OAuth2TokenResponse): number | null => |
| 400 | typeof token.expires_in === "number" ? Date.now() + token.expires_in * 1000 : null; |
no outgoing calls
no test coverage detected