Atavism Version 2018.1AGIS API

atavism.server.objects
Class RemoteAccountConnector

java.lang.Object
  extended by 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.


Nested Class Summary
static class RemoteAccountConnector.AccountLoginStatus
           
 
Field Summary
protected  int accountID
           
 boolean allowAccountCreation
           
 
Constructor Summary
RemoteAccountConnector()
           
 
Method Summary
 void allowAccountCreation(boolean allow)
           
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)
           
 int getAccountID()
           
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allowAccountCreation

public boolean allowAccountCreation

accountID

protected int accountID
Constructor Detail

RemoteAccountConnector

public RemoteAccountConnector()
Method Detail

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()


Copyright © 2018 Dragonsan Studios Sp. z o.o.