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§
Auto 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