pub struct VaultReleased {
pub refresh_token: String,
pub user_key: String,
}Expand description
The material a client released through its platform authenticator, which is what a start sends instead of the master password: the refresh token the enrolment wrapped and the user key itself.
It is a secret and rides the same local channel the password does. The
manual Debug redacts both fields, and Drop wipes them.
Fields§
§refresh_token: StringThe refresh token, which the core redeems for an access token.
user_key: StringThe account’s user key, base64.
Trait Implementations§
Source§impl Clone for VaultReleased
impl Clone for VaultReleased
Source§impl Debug for VaultReleased
impl Debug for VaultReleased
Source§impl<'de> Deserialize<'de> for VaultReleased
impl<'de> Deserialize<'de> for VaultReleased
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Drop for VaultReleased
impl Drop for VaultReleased
impl Eq for VaultReleased
Source§impl PartialEq for VaultReleased
impl PartialEq for VaultReleased
Source§impl Serialize for VaultReleased
impl Serialize for VaultReleased
impl StructuralPartialEq for VaultReleased
Auto Trait Implementations§
impl Freeze for VaultReleased
impl RefUnwindSafe for VaultReleased
impl Send for VaultReleased
impl Sync for VaultReleased
impl Unpin for VaultReleased
impl UnsafeUnpin for VaultReleased
impl UnwindSafe for VaultReleased
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.