We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6cbfb5 commit 03e3dbdCopy full SHA for 03e3dbd
crates/bitwarden-crypto/src/security_state.rs
@@ -45,7 +45,11 @@ export type SignedSecurityState = string;
45
#[derive(Serialize, Deserialize)]
46
#[serde(rename_all = "camelCase")]
47
pub struct SecurityState {
48
+ /// The entity ID is a permanent, unchangeable, unique identifier for the object this security state applies to.
49
+ /// For users, this is the user ID, which never changes.
50
entity_id: ByteBuf,
51
+ /// The version of the security state gates feature availability. It can only ever be incremented. Components can use
52
+ /// it to gate format support of specific formats (like item url hashes).
53
version: u64,
54
}
55
0 commit comments