1
0
Fork 0
mirror of https://github.com/besterprotocol/besterd synced 2023-12-13 21:00:32 +01:00
besterd/source/server/accounts.d

21 lines
503 B
D
Raw Normal View History

module server.accounts;
/**
* This represents the accounts management system of
* the server. It is only an abstract class.
*/
public abstract class BesterDataStore
{
/**
* Creates a new account with the given `username` and
* `password`.
*/
public abstract void createAccount(string username, string password);
/**
* Check if the user, `username`, exists in the database.
*/
public abstract bool userExists(string username);
public abstract void shutdown();
}