Trait graph_http::api_impl::ClientApplication
source · 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
);
}