From fd19cede89b3997ca5d370f3327b34886f49b896 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 27 Feb 2024 14:04:45 +0100 Subject: [PATCH] credential_management: Add UpdateUserInformation subcommand --- src/ctap2/credential_management.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ctap2/credential_management.rs b/src/ctap2/credential_management.rs index 284b730..4d5131e 100644 --- a/src/ctap2/credential_management.rs +++ b/src/ctap2/credential_management.rs @@ -34,6 +34,7 @@ pub enum Subcommand { EnumerateCredentialsBegin = 0x04, // 6, 7, 8 ,9, A EnumerateCredentialsGetNextCredential = 0x05, // 6, 7, 8, A DeleteCredential = 0x06, // - + UpdateUserInformation = 0x07, } #[derive(Clone, Debug, Eq, PartialEq, SerializeIndexed, DeserializeIndexed)] @@ -45,6 +46,9 @@ pub struct SubcommandParameters { // 0x02 #[serde(skip_serializing_if = "Option::is_none")] pub credential_id: Option, + // 0x03 + #[serde(skip_serializing_if = "Option::is_none")] + pub user: Option, } #[derive(Clone, Debug, Eq, PartialEq, SerializeIndexed, DeserializeIndexed)]