Skip to main content

required_keys

Function required_keys 

Source
pub fn required_keys(requirements: &[SecurityRequirement]) -> Vec<String>
Expand description

The distinct scheme keys required by requirements, in first-seen order.

Alternatives (the outer list) and conjunctions (each map’s keys) are flattened to their union: the client sends every configured, required credential, which is correct for the common single-scheme case and harmless otherwise.