(
advertised: readonly string[] | undefined,
)
| 1273 | // `none` (so a confidential secret is mandatory). Static clients never reach |
| 1274 | // here; they require an explicit grant + secret in `createClient`. |
| 1275 | const pickDcrAuthMethod = ( |
| 1276 | advertised: readonly string[] | undefined, |
| 1277 | ): "none" | "client_secret_post" => |
| 1278 | !advertised || advertised.length === 0 || advertised.includes("none") |
| 1279 | ? "none" |
| 1280 | : "client_secret_post"; |
| 1281 | |
| 1282 | type DcrReuseCandidate = { |
| 1283 | readonly slug: OAuthClientSlug; |
no outgoing calls
no test coverage detected