(
advertised: readonly string[] | undefined,
)
| 775 | // `none` (so a confidential secret is mandatory). Static clients never reach |
| 776 | // here; they require an explicit grant + secret in `createClient`. |
| 777 | const pickDcrAuthMethod = ( |
| 778 | advertised: readonly string[] | undefined, |
| 779 | ): "none" | "client_secret_post" => |
| 780 | !advertised || advertised.length === 0 || advertised.includes("none") |
| 781 | ? "none" |
| 782 | : "client_secret_post"; |
| 783 | |
| 784 | type DcrReuseCandidate = { |
| 785 | readonly slug: OAuthClientSlug; |
no outgoing calls
no test coverage detected