pub struct AppServiceManagedIdentityCredential { /* private fields */ }
Implementations§
Source§impl AppServiceManagedIdentityCredential
impl AppServiceManagedIdentityCredential
pub fn create(options: impl Into<TokenCredentialOptions>) -> Result<Self>
Trait Implementations§
Source§impl TokenCredential for AppServiceManagedIdentityCredential
impl TokenCredential for AppServiceManagedIdentityCredential
Source§fn get_token<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scopes: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = Result<AccessToken>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_token<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scopes: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = Result<AccessToken>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Gets a
AccessToken
for the specified resourceAuto Trait Implementations§
impl !Freeze for AppServiceManagedIdentityCredential
impl !RefUnwindSafe for AppServiceManagedIdentityCredential
impl Send for AppServiceManagedIdentityCredential
impl Sync for AppServiceManagedIdentityCredential
impl Unpin for AppServiceManagedIdentityCredential
impl !UnwindSafe for AppServiceManagedIdentityCredential
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