pub struct ApiKeyProvider { /* private fields */ }Expand description
Provider for API Key based authentication.
Keys are zeroized on drop to prevent lingering sensitive data in memory.
Implementations§
Trait Implementations§
Source§impl AuthProvider for ApiKeyProvider
impl AuthProvider for ApiKeyProvider
Source§fn apply<'life0, 'async_trait>(
&'life0 self,
request: RequestBuilder,
) -> Pin<Box<dyn Future<Output = EveryMapResult<RequestBuilder>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn apply<'life0, 'async_trait>(
&'life0 self,
request: RequestBuilder,
) -> Pin<Box<dyn Future<Output = EveryMapResult<RequestBuilder>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Modifies the request builder to include necessary authentication credentials.
Auto Trait Implementations§
impl Freeze for ApiKeyProvider
impl RefUnwindSafe for ApiKeyProvider
impl Send for ApiKeyProvider
impl Sync for ApiKeyProvider
impl Unpin for ApiKeyProvider
impl UnsafeUnpin for ApiKeyProvider
impl UnwindSafe for ApiKeyProvider
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