pub struct FirebaseAuth { /* private fields */ }Implementations§
Source§impl FirebaseAuth
impl FirebaseAuth
pub async fn new(project_id: &str) -> Result<Self, JwkKeysError>
pub async fn verify(&self, token: &str) -> Result<Claims, VerificationError>
Trait Implementations§
Source§impl Drop for FirebaseAuth
impl Drop for FirebaseAuth
Auto Trait Implementations§
impl !RefUnwindSafe for FirebaseAuth
impl !UnwindSafe for FirebaseAuth
impl Freeze for FirebaseAuth
impl Send for FirebaseAuth
impl Sync for FirebaseAuth
impl Unpin for FirebaseAuth
impl UnsafeUnpin 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