()
| 85 | } |
| 86 | |
| 87 | function authBasicHeader() { |
| 88 | return `Basic ${Buffer.from(`${OAUTH_CLIENT_ID}:${OAUTH_CLIENT_ID}`).toString("base64")}` |
| 89 | } |
| 90 | |
| 91 | function buildAuthorizeUrl(account: string, role: string | undefined, state: string, pkce: PkceCodes) { |
| 92 | const scope = oauthScope(role) |
no test coverage detected