(
advertised: readonly string[] | undefined,
)
| 1256 | // `none` (so a confidential secret is mandatory). Static clients never reach |
| 1257 | // here; they require an explicit grant + secret in `createClient`. |
| 1258 | const pickDcrAuthMethod = ( |
| 1259 | advertised: readonly string[] | undefined, |
| 1260 | ): "none" | "client_secret_post" => |
| 1261 | !advertised || advertised.length === 0 || advertised.includes("none") |
| 1262 | ? "none" |
| 1263 | : "client_secret_post"; |
| 1264 | |
| 1265 | type DcrReuseCandidate = { |
| 1266 | readonly slug: OAuthClientSlug; |
no outgoing calls
no test coverage detected