pub trait ClientApplication:
DynClone
+ Send
+ Sync {
// Required methods
fn get_token_silent(&mut self) -> Result<String, AuthExecutionError>;
fn get_token_silent_async<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<String, AuthExecutionError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn with_force_token_refresh(
&mut self,
force_token_refresh: ForceTokenRefresh,
);
}
Required Methods§
fn get_token_silent(&mut self) -> Result<String, AuthExecutionError>
fn get_token_silent_async<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<String, AuthExecutionError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn with_force_token_refresh(&mut self, force_token_refresh: ForceTokenRefresh)
Trait Implementations§
Source§impl<'clone> Clone for Box<dyn ClientApplication + 'clone>
impl<'clone> Clone for Box<dyn ClientApplication + 'clone>
Source§fn clone(&self) -> Box<dyn ClientApplication + 'clone>
fn clone(&self) -> Box<dyn ClientApplication + 'clone>
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 more