Struct graph_oauth::BearerTokenCredential
source · pub struct BearerTokenCredential(/* private fields */);
Implementations§
Trait Implementations§
source§impl AsRef<str> for BearerTokenCredential
impl AsRef<str> for BearerTokenCredential
source§impl ClientApplication for BearerTokenCredential
impl ClientApplication for BearerTokenCredential
fn get_token_silent(&mut self) -> AuthExecutionResult<String>
fn get_token_silent_async<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = AuthExecutionResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn with_force_token_refresh(&mut self, _force_token_refresh: ForceTokenRefresh)
source§impl Clone for BearerTokenCredential
impl Clone for BearerTokenCredential
source§fn clone(&self) -> BearerTokenCredential
fn clone(&self) -> BearerTokenCredential
Returns a copy 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 moresource§impl Display for BearerTokenCredential
impl Display for BearerTokenCredential
source§impl From<&str> for BearerTokenCredential
impl From<&str> for BearerTokenCredential
Auto Trait Implementations§
impl Freeze for BearerTokenCredential
impl RefUnwindSafe for BearerTokenCredential
impl Send for BearerTokenCredential
impl Sync for BearerTokenCredential
impl Unpin for BearerTokenCredential
impl UnwindSafe for BearerTokenCredential
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