pub struct PasskeyOptions {
pub rp_id: Option<String>,
pub rp_name: Option<String>,
pub origin: Vec<String>,
pub passkey_table: String,
pub schema: PasskeySchemaOptions,
pub authenticator_selection: AuthenticatorSelection,
pub registration: PasskeyRegistrationOptions,
pub authentication: PasskeyAuthenticationOptions,
pub management: PasskeyManagementOptions,
pub advanced: PasskeyAdvancedOptions,
pub rate_limit: PasskeyRateLimit,
pub challenge_rate_limit: PasskeyChallengeRateLimit,
/* private fields */
}Expand description
Passkey plugin settings.
Fields§
§rp_id: Option<String>§rp_name: Option<String>§origin: Vec<String>§passkey_table: String§schema: PasskeySchemaOptions§authenticator_selection: AuthenticatorSelection§registration: PasskeyRegistrationOptions§authentication: PasskeyAuthenticationOptions§management: PasskeyManagementOptions§advanced: PasskeyAdvancedOptions§rate_limit: PasskeyRateLimit§challenge_rate_limit: PasskeyChallengeRateLimitImplementations§
Source§impl PasskeyOptions
impl PasskeyOptions
pub fn new() -> Self
pub fn rp_id(self, rp_id: impl Into<String>) -> Self
pub fn rp_name(self, rp_name: impl Into<String>) -> Self
pub fn origin(self, origin: impl Into<String>) -> Self
pub fn passkey_table(self, table: impl Into<String>) -> Self
pub fn schema(self, schema: PasskeySchemaOptions) -> Self
pub fn authenticator_selection(self, selection: AuthenticatorSelection) -> Self
pub fn registration(self, registration: PasskeyRegistrationOptions) -> Self
pub fn authentication( self, authentication: PasskeyAuthenticationOptions, ) -> Self
pub fn management(self, management: PasskeyManagementOptions) -> Self
pub fn advanced(self, advanced: PasskeyAdvancedOptions) -> Self
pub fn rate_limit(self, rate_limit: PasskeyRateLimit) -> Self
pub fn challenge_rate_limit( self, challenge_rate_limit: PasskeyChallengeRateLimit, ) -> Self
Trait Implementations§
Source§impl Clone for PasskeyOptions
impl Clone for PasskeyOptions
Source§fn clone(&self) -> PasskeyOptions
fn clone(&self) -> PasskeyOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PasskeyOptions
impl !UnwindSafe for PasskeyOptions
impl Freeze for PasskeyOptions
impl Send for PasskeyOptions
impl Sync for PasskeyOptions
impl Unpin for PasskeyOptions
impl UnsafeUnpin for PasskeyOptions
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