diff --git a/src/lib.rs b/src/lib.rs index 610dd45..9bcd50a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -33,7 +33,7 @@ impl Session { } } - pub async fn authenticate( + pub async fn account_authenticate( &mut self, username: String, password: String, @@ -68,7 +68,7 @@ impl Session { } } - pub async fn register( + pub async fn account_register( &self, username: String, password: String, @@ -117,7 +117,7 @@ impl Session { } } - pub async fn verify_account(&mut self, token: String) -> Result<(), VerifyAccountError> { + pub async fn account_verify(&mut self, token: String) -> Result<(), VerifyAccountError> { let url = format!("{}/account/verify", &self.base_url); let body = request::AccountVerify { token }; @@ -146,7 +146,7 @@ impl Session { } } - pub async fn delete_account( + pub async fn account_delete( &mut self, reason: Option, ) -> Result<(), DeleteAccountError> {