(
advertised: readonly string[] | undefined,
)
| 713 | // `none` (so a confidential secret is mandatory). Static clients never reach |
| 714 | // here; they require an explicit grant + secret in `createClient`. |
| 715 | const pickDcrAuthMethod = ( |
| 716 | advertised: readonly string[] | undefined, |
| 717 | ): "none" | "client_secret_post" => |
| 718 | !advertised || advertised.length === 0 || advertised.includes("none") |
| 719 | ? "none" |
| 720 | : "client_secret_post"; |
| 721 | |
| 722 | type DcrReuseCandidate = { |
| 723 | readonly slug: OAuthClientSlug; |
no outgoing calls
no test coverage detected