pub struct FirebaseAuth { /* private fields */ }
Expand description
FirebaseAuth
is responsible for verifying Firebase JWT tokens and keeping the
Google public keys up to date by periodically fetching them.
It uses the Cache-Control max-age
directive to schedule the next refresh.
If fetching fails, it retries every 10 seconds until successful.
Implementations§
Trait Implementations§
Source§impl Clone for FirebaseAuth
impl Clone for FirebaseAuth
Source§fn clone(&self) -> FirebaseAuth
fn clone(&self) -> FirebaseAuth
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 FirebaseAuth
impl RefUnwindSafe for FirebaseAuth
impl Send for FirebaseAuth
impl Sync for FirebaseAuth
impl Unpin for FirebaseAuth
impl UnwindSafe for FirebaseAuth
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