pub struct RelyingParty {
pub id: String,
pub origin: String,
pub name: String,
}Expand description
Who passkeys are bound to: the RP id is the host of ISB_PUBLIC_URL,
the origin its scheme, host and port.
Fields§
§id: String§origin: String§name: StringImplementations§
Source§impl RelyingParty
impl RelyingParty
Sourcepub fn from_public_url(url: &str) -> Result<RelyingParty, String>
pub fn from_public_url(url: &str) -> Result<RelyingParty, String>
From a public URL like https://isb.example.com (a path is ignored).
Plain http is accepted for localhost only, which browsers treat as
a secure context.
Trait Implementations§
Source§impl Clone for RelyingParty
impl Clone for RelyingParty
Source§impl Debug for RelyingParty
impl Debug for RelyingParty
impl Eq for RelyingParty
Source§impl PartialEq for RelyingParty
impl PartialEq for RelyingParty
impl StructuralPartialEq for RelyingParty
Auto Trait Implementations§
impl Freeze for RelyingParty
impl RefUnwindSafe for RelyingParty
impl Send for RelyingParty
impl Sync for RelyingParty
impl Unpin for RelyingParty
impl UnsafeUnpin for RelyingParty
impl UnwindSafe for RelyingParty
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.