diff --git a/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs b/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs --- a/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs +++ b/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs @@ -63,7 +63,6 @@ } } - #[instrument(skip(self))] async fn get_user_id( &mut self, auth_type: AuthType, @@ -78,6 +77,15 @@ .await } + #[instrument(skip(self))] + fn get_user_id_blocking( + &mut self, + auth_type: AuthType, + user_info: String, + ) -> Result, Status> { + RUNTIME.block_on(self.get_user_id(auth_type, user_info)) + } + #[instrument(skip(self))] async fn verify_user_token( &mut self,