Crate ddnet_account_client

Crate ddnet_account_client 

Source
Expand description

This crate contains a base implementation for a client to do account related operations. It helps sending data, storing results persistently. This crate is not intended for creating UI, any game logic nor knowing about the communication details (be it UDP, HTTP or other stuff). It uses interfaces to abstract such concepts away.

Modulesยง

account_info
Requests the account info of the account.
account_token
Requests an account token email based.
certs
Operations related to getting the account server certificates
credential_auth_token
Requests a token for an email based login.
delete
Requests to delete the account.
errors
Types related to errors during client operations.
interface
Communication interface for the client to do requests to the account server.
link_credential
Requests to link another credential to an existing account.
login
Requests to create a new login for the corresponding account.
logout
Request to log out the current user session.
logout_all
Request to log out all sessions of a user.
sign
Sign an already existing session key-pair with a certificate on the account server.
unlink_credential
Requests to unlink a credential from an account.