[−][src]Struct jwtvault::utils::password::ArgonPasswordHasher
Implementations
impl ArgonPasswordHasher
[src]
Trait Implementations
impl Default for ArgonPasswordHasher
[src]
impl Deref for ArgonPasswordHasher
[src]
impl From<PrivateKey> for ArgonPasswordHasher
[src]
fn from(secret_key: PrivateKey) -> Self
[src]
impl PasswordHasher<ArgonPasswordHasher> for DynamicVault
[src]
fn hash_user_password<T: AsRef<str>>(
&self,
user: T,
password: T
) -> Result<String, Error>
[src]
&self,
user: T,
password: T
) -> Result<String, Error>
fn verify_user_password<T: AsRef<str>>(
&self,
user: T,
password: T,
hash: T
) -> Result<bool, Error>
[src]
&self,
user: T,
password: T,
hash: T
) -> Result<bool, Error>
impl<'a> PasswordHasher<Hasher<'a>> for ArgonPasswordHasher
[src]
fn hash_user_password<T: AsRef<str>>(
&self,
user: T,
password: T
) -> Result<String, Error>
[src]
&self,
user: T,
password: T
) -> Result<String, Error>
fn verify_user_password<T: AsRef<str>>(
&self,
user: T,
password: T,
hash: T
) -> Result<bool, Error>
[src]
&self,
user: T,
password: T,
hash: T
) -> Result<bool, Error>
impl Workflow<DefaultHasher, ArgonPasswordHasher> for DynamicVault
[src]
fn login<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
user: &'life1 str,
pass: &'life2 str,
authentication_token_expiry_in_seconds: Option<i64>,
refresh_token_expiry_in_seconds: Option<i64>
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
user: &'life1 str,
pass: &'life2 str,
authentication_token_expiry_in_seconds: Option<i64>,
refresh_token_expiry_in_seconds: Option<i64>
) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn renew<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
user: &'life1 str,
client_refresh_token: &'life2 String,
authentication_token_expiry_in_seconds: Option<i64>
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
user: &'life1 str,
client_refresh_token: &'life2 String,
authentication_token_expiry_in_seconds: Option<i64>
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn logout<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
user: &'life1 str,
client_authentication_token: &'life2 String
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
user: &'life1 str,
client_authentication_token: &'life2 String
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn revoke<'life0, 'life1, 'async_trait>(
&'life0 mut self,
client_refresh_token: &'life1 String
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
client_refresh_token: &'life1 String
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl RefUnwindSafe for ArgonPasswordHasher
impl Send for ArgonPasswordHasher
impl Sync for ArgonPasswordHasher
impl Unpin for ArgonPasswordHasher
impl UnwindSafe for ArgonPasswordHasher
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,