(
advertised: readonly string[] | undefined,
)
| 640 | // `none` (so a confidential secret is mandatory). Static clients never reach |
| 641 | // here; they require an explicit grant + secret in `createClient`. |
| 642 | const pickDcrAuthMethod = ( |
| 643 | advertised: readonly string[] | undefined, |
| 644 | ): "none" | "client_secret_post" => |
| 645 | !advertised || advertised.length === 0 || advertised.includes("none") |
| 646 | ? "none" |
| 647 | : "client_secret_post"; |
| 648 | |
| 649 | type DcrReuseCandidate = { |
| 650 | readonly slug: OAuthClientSlug; |
no outgoing calls
no test coverage detected