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 async fn new(project_id: &str) -> FirebaseAuth
pub fn verify<T: DeserializeOwned>( &self, token: &str, ) -> Result<T, VerificationError>
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§const fn clone_from(&mut self, source: &Self)
const 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