atavism.server.objects
Class RemoteAccountConnector
java.lang.Object
atavism.server.objects.RemoteAccountConnector
- Direct Known Subclasses:
- RemoteDatabaseAccountConnector, RemotePhpAccountConnector, WordpressAccountConnector
public abstract class RemoteAccountConnector
- extends java.lang.Object
Used by MasterServer
to allow the logging in with accounts from other systems such as websites.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allowAccountCreation
public boolean allowAccountCreation
accountID
protected int accountID
RemoteAccountConnector
public RemoteAccountConnector()
verifyAccount
public abstract RemoteAccountConnector.AccountLoginStatus verifyAccount(java.lang.String accountName,
java.lang.String password,
java.util.HashMap<java.lang.String,java.lang.Object> props)
- Create a new character.
- Parameters:
worldName
- World name.multiverseID
- Account id.properties
- Contains properties used to create the new
character, and populated by the factory with additional
character properties.
- Returns:
- Boolean representing whether the login was successful
createAccount
public abstract RemoteAccountConnector.AccountLoginStatus createAccount(java.lang.String accountName,
java.lang.String email,
java.lang.String password,
java.util.HashMap<java.lang.String,java.lang.Object> props)
allowAccountCreation
public void allowAccountCreation(boolean allow)
getAccountID
public int getAccountID()