pub struct Service<T>{ /* private fields */ }
Implementations§
source§impl<T> Service<T>
impl<T> Service<T>
sourcepub async fn confirm_email(&self, input: Input) -> Result<(), Error<Error>>
pub async fn confirm_email(&self, input: Input) -> Result<(), Error<Error>>
Confirm an email using a token from com.atproto.server.requestEmailConfirmation.
sourcepub async fn create_account(&self, input: Input) -> Result<Output, Error<Error>>
pub async fn create_account(&self, input: Input) -> Result<Output, Error<Error>>
Create an account.
sourcepub async fn create_app_password(
&self,
input: Input
) -> Result<Output, Error<Error>>
pub async fn create_app_password( &self, input: Input ) -> Result<Output, Error<Error>>
Create an app-specific password.
sourcepub async fn create_invite_code(
&self,
input: Input
) -> Result<Output, Error<Error>>
pub async fn create_invite_code( &self, input: Input ) -> Result<Output, Error<Error>>
Create an invite code.
sourcepub async fn create_invite_codes(
&self,
input: Input
) -> Result<Output, Error<Error>>
pub async fn create_invite_codes( &self, input: Input ) -> Result<Output, Error<Error>>
Create an invite code.
sourcepub async fn create_session(&self, input: Input) -> Result<Output, Error<Error>>
pub async fn create_session(&self, input: Input) -> Result<Output, Error<Error>>
Create an authentication session.
sourcepub async fn delete_account(&self, input: Input) -> Result<(), Error<Error>>
pub async fn delete_account(&self, input: Input) -> Result<(), Error<Error>>
Delete a user account with a token and password.
sourcepub async fn describe_server(&self) -> Result<Output, Error<Error>>
pub async fn describe_server(&self) -> Result<Output, Error<Error>>
Get a document describing the service’s accounts configuration.
sourcepub async fn get_account_invite_codes(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_account_invite_codes( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get all invite codes for a given account
sourcepub async fn get_session(&self) -> Result<Output, Error<Error>>
pub async fn get_session(&self) -> Result<Output, Error<Error>>
Get information about the current session.
sourcepub async fn list_app_passwords(&self) -> Result<Output, Error<Error>>
pub async fn list_app_passwords(&self) -> Result<Output, Error<Error>>
List all app-specific passwords.
sourcepub async fn refresh_session(&self) -> Result<Output, Error<Error>>
pub async fn refresh_session(&self) -> Result<Output, Error<Error>>
Refresh an authentication session.
sourcepub async fn request_account_delete(&self) -> Result<(), Error<Error>>
pub async fn request_account_delete(&self) -> Result<(), Error<Error>>
Initiate a user account deletion via email.
sourcepub async fn request_email_confirmation(&self) -> Result<(), Error<Error>>
pub async fn request_email_confirmation(&self) -> Result<(), Error<Error>>
Request an email with a code to confirm ownership of email
sourcepub async fn request_email_update(&self) -> Result<Output, Error<Error>>
pub async fn request_email_update(&self) -> Result<Output, Error<Error>>
Request a token in order to update email.
sourcepub async fn request_password_reset(
&self,
input: Input
) -> Result<(), Error<Error>>
pub async fn request_password_reset( &self, input: Input ) -> Result<(), Error<Error>>
Initiate a user account password reset via email.
sourcepub async fn reserve_signing_key(
&self,
input: Input
) -> Result<Output, Error<Error>>
pub async fn reserve_signing_key( &self, input: Input ) -> Result<Output, Error<Error>>
Reserve a repo signing key for account creation.
sourcepub async fn reset_password(&self, input: Input) -> Result<(), Error<Error>>
pub async fn reset_password(&self, input: Input) -> Result<(), Error<Error>>
Reset a user account password using a token.
Auto Trait Implementations§
impl<T> RefUnwindSafe for Service<T>where
T: RefUnwindSafe,
impl<T> Send for Service<T>
impl<T> Sync for Service<T>
impl<T> Unpin for Service<T>
impl<T> UnwindSafe for Service<T>where
T: RefUnwindSafe,
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