(
advertised: readonly string[] | undefined,
)
| 701 | // `none` (so a confidential secret is mandatory). Static clients never reach |
| 702 | // here; they require an explicit grant + secret in `createClient`. |
| 703 | const pickDcrAuthMethod = ( |
| 704 | advertised: readonly string[] | undefined, |
| 705 | ): "none" | "client_secret_post" => |
| 706 | !advertised || advertised.length === 0 || advertised.includes("none") |
| 707 | ? "none" |
| 708 | : "client_secret_post"; |
| 709 | |
| 710 | type DcrReuseCandidate = { |
| 711 | readonly slug: OAuthClientSlug; |
no outgoing calls
no test coverage detected