[−][src]Struct webauthn_rs::ephemeral::WebauthnEphemeralConfig
An implementation of an Ephemeral (in-memory) webauthn configuration provider This stores all challenges and credentials in memory - IE they are lost on service restart. It's only really useful for demo-sites, testing and as an example/reference implementation of the WebauthnConfig trait.
Implementations
impl WebauthnEphemeralConfig
[src]
pub fn new(rp_name: &str, rp_origin: &str, rp_id: &str) -> Self
[src]
Create a new Webauthn Ephemeral instance. This requires a provided relying party name, origin and id. See the trait documentation for more detail on relying party name, origin and id.
Trait Implementations
impl Debug for WebauthnEphemeralConfig
[src]
impl WebauthnConfig for WebauthnEphemeralConfig
[src]
fn get_relying_party_name(&self) -> String
[src]
Returns the relying party name. See the trait documentation for more.
fn get_relying_party_id(&self) -> String
[src]
Returns the relying party id. See the trait documentation for more.
fn get_origin(&self) -> &String
[src]
Retrieve the relying party origin. See the trait documentation for more.
fn get_credential_algorithms(&self) -> Vec<COSEContentType>
[src]
fn get_authenticator_timeout(&self) -> u32
[src]
fn get_attestation_preference(&self) -> AttestationConveyancePreference
[src]
fn get_user_verification_required(&self) -> bool
[src]
fn get_extensions(&self) -> Option<BTreeMap<String, String>>
[src]
fn policy_verify_trust(&self, at: AttestationType) -> Result<Credential, ()>
[src]
Auto Trait Implementations
impl RefUnwindSafe for WebauthnEphemeralConfig
impl Send for WebauthnEphemeralConfig
impl Sync for WebauthnEphemeralConfig
impl Unpin for WebauthnEphemeralConfig
impl UnwindSafe for WebauthnEphemeralConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,