Class LoginData
java.lang.Object
com.smartfoxserver.components.login.LoginData
This object is passed to an ILoginAssistantPlugin at runtime, during the login process.
The class holds all of the runtime data relative to the current login, including the client's Session object, all the fields loaded from the database, the client's incoming login parameter etc...
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe optional SFSObject sent by the client with his LoginRequestThe optional outgoing SFSObject that will be sent to the client with the Login responseThe optional extra fields extracted from the database, if specified in the LoginAssistant configuration (might be null)booleanOptional field that checks if the account has been activatedThe optional nickname extracted from the database (might be null)The password extracted from the databaseThe client's sessionThe user name extracted from the database -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
session
The client's session -
userName
The user name extracted from the database -
password
The password extracted from the database -
nickName
The optional nickname extracted from the database (might be null) -
isActive
public boolean isActiveOptional field that checks if the account has been activated -
extraFields
The optional extra fields extracted from the database, if specified in the LoginAssistant configuration (might be null) -
clientIncomingData
The optional SFSObject sent by the client with his LoginRequest -
clientOutGoingData
The optional outgoing SFSObject that will be sent to the client with the Login response
-
-
Constructor Details
-
LoginData
public LoginData()
-