pub struct TokenClient { /* private fields */ }
Expand description
That’s a default token client implement AccessTokenProvider.
Implementations§
Trait Implementations§
Source§impl AccessTokenProvider for TokenClient
impl AccessTokenProvider for TokenClient
Source§fn get_access_token<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SdkResult<AccessToken>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_access_token<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SdkResult<AccessToken>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Clone for TokenClient
impl Clone for TokenClient
Source§fn clone(&self) -> TokenClient
fn clone(&self) -> TokenClient
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 moreAuto Trait Implementations§
impl Freeze for TokenClient
impl RefUnwindSafe for TokenClient
impl Send for TokenClient
impl Sync for TokenClient
impl Unpin for TokenClient
impl UnwindSafe for TokenClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more