pub struct CachedAuthClient {
pub client: Arc<AuthClient<Client>>,
/* private fields */
}Expand description
A cached AuthClient plus the OAuth-registration fingerprint it was
built from. When the current config’s fingerprint differs, the entry
is evicted and rebuilt so a stale client_id never signs a request.
Fields§
§client: Arc<AuthClient<Client>>Auto Trait Implementations§
impl Freeze for CachedAuthClient
impl !RefUnwindSafe for CachedAuthClient
impl Send for CachedAuthClient
impl Sync for CachedAuthClient
impl Unpin for CachedAuthClient
impl UnsafeUnpin for CachedAuthClient
impl !UnwindSafe for CachedAuthClient
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