[−][src]Trait jwtvault::api::vault::Workflow
Workflow for library user DefaultVault
Required methods
#[must_use]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,
&'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,
#[must_use]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,
&'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,
#[must_use]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,
&'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,
#[must_use]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,
&'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,
Implementors
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,
impl<'a> Workflow<DefaultHasher, Hasher<'a>> for DefaultVault
[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,