pub struct ExtensionInputs {
pub hmac_secret: Option<HmacGetSecretInput>,
pub prf: Option<AuthenticatorPrfInputs>,
}Expand description
All supported Authenticator extensions inputs during credential assertion
Fields§
§hmac_secret: Option<HmacGetSecretInput>The input salts for fetching and deriving a symmetric secret.
prf: Option<AuthenticatorPrfInputs>The direct input from a on-system client for the prf extension.
The output from a request using the prf extension will not be signed
and will be un-encrypted.
This input should already be hashed by the client.
Implementations§
Source§impl ExtensionInputs
impl ExtensionInputs
Sourcepub fn zip_contents(self) -> Option<Self>
pub fn zip_contents(self) -> Option<Self>
Validates that there is at least one extension field that is Some.
If all fields are None then this returns None as well.
Trait Implementations§
Source§impl Debug for ExtensionInputs
impl Debug for ExtensionInputs
Source§impl Default for ExtensionInputs
impl Default for ExtensionInputs
Source§fn default() -> ExtensionInputs
fn default() -> ExtensionInputs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtensionInputs
impl<'de> Deserialize<'de> for ExtensionInputs
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
Auto Trait Implementations§
impl Freeze for ExtensionInputs
impl RefUnwindSafe for ExtensionInputs
impl Send for ExtensionInputs
impl Sync for ExtensionInputs
impl Unpin for ExtensionInputs
impl UnwindSafe for ExtensionInputs
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