pub enum PasswordProtocol {
Opaque,
}Expand description
Configuration for password protocol.
Variants§
Opaque
When WASM is enabled, this will run the client portions browser-side. When JavaScript-only, passwords will be hashed and then sent to the server where the client portion will be done on behalf of the user. In noscript mode, the password is sent only protected by TLS, hashed and then the client operations are done server side.
If a user later decides to enable javascript or WASM, they’ll be able to opt in to the no-plain-password-sent modes without interruption.
Trait Implementations§
Source§impl Clone for PasswordProtocol
impl Clone for PasswordProtocol
Source§fn clone(&self) -> PasswordProtocol
fn clone(&self) -> PasswordProtocol
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PasswordProtocol
impl Debug for PasswordProtocol
Source§impl<'de> Deserialize<'de> for PasswordProtocol
impl<'de> Deserialize<'de> for PasswordProtocol
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 PasswordProtocol
impl RefUnwindSafe for PasswordProtocol
impl Send for PasswordProtocol
impl Sync for PasswordProtocol
impl Unpin for PasswordProtocol
impl UnwindSafe for PasswordProtocol
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