pub struct FireAuth {
pub api_key: String,
}
Fields§
§api_key: String
Implementations§
Source§impl FireAuth
impl FireAuth
pub async fn refresh_id_token( &self, refresh_token: &str, ) -> Result<RefreshIdToken, Error>
Source§impl FireAuth
impl FireAuth
pub async fn get_user_info(&self, id_token: &str) -> Result<User, Error>
pub async fn change_email( &self, id_token: &str, email: &str, return_secure_token: bool, ) -> Result<UpdateUser, Error>
pub async fn change_password( &self, id_token: &str, password: &str, return_secure_token: bool, ) -> Result<UpdateUser, Error>
pub async fn reset_password(&self, email: &str) -> Result<SendOobCode, Error>
pub async fn verify_email(&self, id_token: &str) -> Result<SendOobCode, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FireAuth
impl RefUnwindSafe for FireAuth
impl Send for FireAuth
impl Sync for FireAuth
impl Unpin for FireAuth
impl UnwindSafe for FireAuth
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