mirror of
https://github.com/trussed-dev/ctap-types.git
synced 2026-06-20 04:16:17 -07:00
credential_management: Add UpdateUserInformation subcommand
This commit is contained in:
@@ -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<PublicKeyCredentialDescriptor>,
|
||||
// 0x03
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub user: Option<PublicKeyCredentialUserEntity>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq, SerializeIndexed, DeserializeIndexed)]
|
||||
|
||||
Reference in New Issue
Block a user