pub struct RegistrationOptions {
pub challenge: String,
pub rp: RelyingParty,
pub user: WebauthnUser,
pub pub_key_cred_params: Vec<PubKeyCredParam>,
pub timeout: u64,
pub exclude_credentials: Vec<ExcludeCredential>,
pub attestation: String,
pub authenticator_selection: AuthenticatorSelection,
}Expand description
Options sent to the client for credential registration
(navigator.credentials.create()).
Fields§
§challenge: StringServer-generated challenge (Base64url-encoded).
rp: RelyingPartyRelying party information.
user: WebauthnUserUser information for the new credential.
pub_key_cred_params: Vec<PubKeyCredParam>Required public key parameters.
timeout: u64Timeout hint in milliseconds.
exclude_credentials: Vec<ExcludeCredential>Exclude already-registered credentials.
attestation: StringAttestation conveyance preference.
authenticator_selection: AuthenticatorSelectionAuthenticator selection criteria.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RegistrationOptions
impl RefUnwindSafe for RegistrationOptions
impl Send for RegistrationOptions
impl Sync for RegistrationOptions
impl Unpin for RegistrationOptions
impl UnsafeUnpin for RegistrationOptions
impl UnwindSafe for RegistrationOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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