diff --git a/crates/ctap2-proto/src/authenticator/assertion/get.rs b/crates/ctap2-proto/src/authenticator/assertion/get.rs index 32763df..530bdf4 100644 --- a/crates/ctap2-proto/src/authenticator/assertion/get.rs +++ b/crates/ctap2-proto/src/authenticator/assertion/get.rs @@ -38,15 +38,13 @@ pub struct Request<'a> { /// > Hash of the serialized client data collected by the host. pub client_data_hash: &'a Sha256Hash, /// > An array of [`public_key::Descriptor`] structures, each denoting a - /// > credential, as specified in `WebAuthn`. A platform MUST NOT send - /// > an empty `allowList`—if it would be empty it MUST be omitted. If - /// > this parameter is present the authenticator MUST only generate an - /// > assertion using one of the denoted credentials. - // TODO: Is there an equivalent of Vec1 but for a slice? - pub allow_list: Option<&'a BoundedVec>, + /// > credential, as specified in `WebAuthn`... If this parameter is present + /// > the authenticator MUST only generate a assertion using one of the + /// > denoted credentials. + pub allow_list: Option<&'a BoundedVec<&'a public_key::Descriptor, 1, { usize::MAX }>>, /// > Parameters to influence authenticator operation. These parameters /// > might be authenticator specific. - pub extensions: Option<&'a HashMap>>, + pub extensions: Option<&'a HashMap>, /// > Parameters to influence authenticator operation. pub options: Option<&'a HashMap>, pub pin_uv_auth_param: Option<&'a [u8]>,