Skip to content

Commit

Permalink
credential_management: Add UpdateUserInformation subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Mar 1, 2024
1 parent 3735eb5 commit fd19ced
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ctap2/credential_management.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand All @@ -45,6 +46,9 @@ pub struct SubcommandParameters {
// 0x02
#[serde(skip_serializing_if = "Option::is_none")]
pub credential_id: Option<PublicKeyCredentialDescriptor>,
// 0x03
#[serde(skip_serializing_if = "Option::is_none")]
pub user: Option<PublicKeyCredentialUserEntity>,
}

#[derive(Clone, Debug, Eq, PartialEq, SerializeIndexed, DeserializeIndexed)]
Expand Down

0 comments on commit fd19ced

Please sign in to comment.