(
advertised: readonly string[] | undefined,
)
| 687 | // `none` (so a confidential secret is mandatory). Static clients never reach |
| 688 | // here; they require an explicit grant + secret in `createClient`. |
| 689 | const pickDcrAuthMethod = ( |
| 690 | advertised: readonly string[] | undefined, |
| 691 | ): "none" | "client_secret_post" => |
| 692 | !advertised || advertised.length === 0 || advertised.includes("none") |
| 693 | ? "none" |
| 694 | : "client_secret_post"; |
| 695 | |
| 696 | type DcrReuseCandidate = { |
| 697 | readonly slug: OAuthClientSlug; |
no outgoing calls
no test coverage detected