ctap2-proto: Make make::Request::pin_uv_auth_param optional

the `pin_uv_auth_param` field is an optional field in the CTAP spec.
main
Nick Zana 2 years ago
parent 573069afad
commit ea1df60e74

@ -76,7 +76,7 @@ pub struct Request<'a> {
/// > [WebAuthn]. These parameters might be authenticator specific. /// > [WebAuthn]. These parameters might be authenticator specific.
pub extensions: Option<&'a BTreeMap<extensions::Identifier, Vec<u8>>>, pub extensions: Option<&'a BTreeMap<extensions::Identifier, Vec<u8>>>,
pub options: Option<&'a BTreeMap<OptionKey, bool>>, pub options: Option<&'a BTreeMap<OptionKey, bool>>,
pub pin_uv_auth_param: &'a [u8], pub pin_uv_auth_param: Option<&'a [u8]>,
/// > PIN/UV protocol version selected by platform. /// > PIN/UV protocol version selected by platform.
pub pin_uv_auth_protocol_version: Option<client_pin::AuthProtocolVersion>, pub pin_uv_auth_protocol_version: Option<client_pin::AuthProtocolVersion>,
/// > An authenticator supporting this enterprise attestation feature is /// > An authenticator supporting this enterprise attestation feature is

Loading…
Cancel
Save