lilypad.client.connect.api.request.impl
Class AuthenticateRequest
java.lang.Object
lilypad.client.connect.api.request.impl.AuthenticateRequest
- All Implemented Interfaces:
- Request<AuthenticateResult>
public class AuthenticateRequest
- extends java.lang.Object
- implements Request<AuthenticateResult>
Request to authenticate with the network.
Constructor Summary |
AuthenticateRequest(java.lang.String username,
java.lang.String password,
java.lang.String passwordKey)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticateRequest
public AuthenticateRequest(java.lang.String username,
java.lang.String password,
java.lang.String passwordKey)
- Parameters:
username
- to be authenticated withpassword
- to be authenticated withpasswordKey
- salt to hash the password with
getResult
public java.lang.Class<AuthenticateResult> getResult()
- Specified by:
getResult
in interface Request<AuthenticateResult>
- Returns:
- accompanying result of the request
getUsername
public java.lang.String getUsername()
- Returns:
- username to be authenticated with
getPassword
public java.lang.String getPassword()
- Returns:
- password to be authenticated with