atavism.agis.util
Class RemotePhpAccountConnector
java.lang.Object
atavism.server.objects.RemoteAccountConnector
atavism.agis.util.RemotePhpAccountConnector
public class RemotePhpAccountConnector
- extends RemoteAccountConnector
Sends login details to a php file to verify their account. Called by the MasterServer if
set in the auth_server.py script.
- Author:
- Andrew Harrison
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemotePhpAccountConnector
public RemotePhpAccountConnector()
verifyAccount
public RemoteAccountConnector.AccountLoginStatus verifyAccount(java.lang.String accountName,
java.lang.String password,
java.util.HashMap<java.lang.String,java.lang.Object> props)
- Description copied from class:
RemoteAccountConnector
- Create a new character.
- Specified by:
verifyAccount
in class RemoteAccountConnector
- Returns:
- Boolean representing whether the login was successful
createAccount
public 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)
- Specified by:
createAccount
in class RemoteAccountConnector
setUrl
public void setUrl(java.lang.String url)