pub struct WebauthnSection {
pub rp_id: String,
pub rp_origins: Vec<String>,
pub rp_name: Option<String>,
}Fields§
§rp_id: StringRelying party ID — a bare host name (e.g. kanade.example.com or
localhost). No scheme, port, path or credentials. Must be
lowercase ASCII; use punycode for IDN. Must be a domain name, not
an IP address. Subdomains of this RP ID may be listed in
rp_origins.
rp_origins: Vec<String>Allowed origin(s) for WebAuthn ceremonies. Each must be a bare
origin (https://host[:port]) whose host is either the RP ID or a
subdomain of it. http is only accepted for localhost. At least
one origin is required. No wildcards, paths, queries or fragments.
rp_name: Option<String>Human-readable relying party name. Defaults to “Kanade”.
Trait Implementations§
Source§impl Clone for WebauthnSection
impl Clone for WebauthnSection
Source§impl Debug for WebauthnSection
impl Debug for WebauthnSection
Source§impl Default for WebauthnSection
impl Default for WebauthnSection
Source§impl<'de> Deserialize<'de> for WebauthnSection
impl<'de> Deserialize<'de> for WebauthnSection
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 WebauthnSection
impl RefUnwindSafe for WebauthnSection
impl Send for WebauthnSection
impl Sync for WebauthnSection
impl Unpin for WebauthnSection
impl UnsafeUnpin for WebauthnSection
impl UnwindSafe for WebauthnSection
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