pub struct AuthenticationExtensionsClientInputs {
pub cred_props: Option<bool>,
pub prf: Option<AuthenticationExtensionsPrfInputs>,
pub prf_already_hashed: Option<AuthenticationExtensionsPrfInputs>,
}Expand description
This is a dictionary containing the client extension input values for zero or more WebAuthn Extensions. There are currently none supported.
https://w3c.github.io/webauthn/#dictdef-authenticationextensionsclientinputs
Fields§
§cred_props: Option<bool>Boolean to indicate that this extension is requested by the relying party.
See CredentialPropertiesOutput for more information.
prf: Option<AuthenticationExtensionsPrfInputs>Inputs for the pseudo-random function extensions.
See AuthenticationExtensionsPrfInputs for more information.
prf_already_hashed: Option<AuthenticationExtensionsPrfInputs>Inputs for the pseudo-random function extension where the inputs are already hashed
by another client following the sha256("WebAuthn PRF" || salt) format.
This is not an official extension, rather a field that occurs in some cases on Android
as well as the field that MUST be used when mapping from Apple’s Authentication Services
ASAuthorizationPublicKeyCredentialPRFAssertionInput.
This field SHOULD NOT be present alongside the Self::prf field as that field will take precedence.
Implementations§
Source§impl AuthenticationExtensionsClientInputs
impl AuthenticationExtensionsClientInputs
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
and that they are in turn not empty. If all fields are None
then this returns None as well.