Skip to main content

credential_values

Function credential_values 

Source
pub fn credential_values(fields: &Fields) -> usize
Expand description

How many credential field values a request carries, across both names.

Counted rather than judged here, so the caller decides what to do with the number and this stays the one place that knows which fields carry credentials. Compare it against MAX_CREDENTIAL_VALUES.