[][src]Struct jwtvault::utils::dynamic::DynamicVault

pub struct DynamicVault { /* fields omitted */ }

Uses dynamic dispatch

Implementations

impl DynamicVault[src]

pub fn default(
    user_authentication: Box<dyn UserAuthentication + Send + Sync>
) -> Self
[src]

pub fn new<T: Keys>(
    loader: T,
    trust_token_bearer: bool,
    user_authentication: Box<dyn UserAuthentication + Send + Sync>,
    user_identity: Box<dyn UserIdentity + Send + Sync>
) -> Self
[src]

pub async fn generate_temporary_token<'_, '_>(
    &'_ mut self,
    user: &'_ str,
    authentication_token_expiry_in_seconds: Option<i64>
) -> Result<Token, Error>
[src]

Trait Implementations

impl PasswordHasher<ArgonPasswordHasher> for DynamicVault[src]

impl Persistence for DynamicVault[src]

impl PersistenceHasher<DefaultHasher> for DynamicVault[src]

impl Store for DynamicVault[src]

impl TrustToken for DynamicVault[src]

impl UserAuthentication for DynamicVault[src]

impl UserIdentity for DynamicVault[src]

impl Workflow<DefaultHasher, ArgonPasswordHasher> for DynamicVault[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,