feat: workspace service in user crate (#4373)

* refactor: user manager

* feat: implement workspace service

* refactor: migrate user data when sign up

* chore: fmt

* chore: enable beta cloud

* chore: update ci

* chore: trim slash
This commit is contained in:
Nathan.fooo
2024-01-12 14:34:59 +08:00
committed by GitHub
parent 690a3746fa
commit 9500abb363
66 changed files with 879 additions and 1079 deletions

View File

@ -61,8 +61,9 @@ where
}
fn sign_out(&self, _token: Option<String>) -> FutureResult<(), FlowyError> {
let try_get_client = self.server.try_get_client();
FutureResult::new(async move { Ok(try_get_client?.sign_out().await?) })
// Calling the sign_out method that will revoke all connected devices' refresh tokens.
// So do nothing here.
FutureResult::new(async move { Ok(()) })
}
fn generate_sign_in_url_with_email(&self, email: &str) -> FutureResult<String, FlowyError> {