Struct firebase_auth::FirebaseAuth
source · pub struct FirebaseAuth { /* private fields */ }
Expand description
Provide a service to automatically pull the new google public key based on the Cache-Control header. If there is an error during refreshing, automatically retry indefinitely every 10 seconds.
Implementations§
source§impl FirebaseAuth
impl FirebaseAuth
pub fn new(project_id: &str) -> FirebaseAuth
pub fn verify(&self, token: &str) -> Option<FirebaseUser>
Trait Implementations§
Auto Trait Implementations§
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