|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.dice.AuthenticateAnswer
public class AuthenticateAnswer
The class holds the data returned from the server when the caller makes an authentication request. When the request is successful a token is included that must be returned for the other methods in the service.
$RCSfile: AuthenticateAnswer.html,v $
$Author: duket $
$Date: 2010/12/14 16:48:42 $
Original Author: duke _DOT_ takle _AT_ dice _DOT_ com
Date: February, 2010
| Field Summary | |
|---|---|
protected java.lang.String |
authToken
The authentication token is returned as 32 byte key that must be passed with subsequent requests to the server. |
protected java.lang.String |
message
Some message about the authentication request if it was not successful |
protected int |
returnCode
The return code for the authentication request, 0 implies success. |
| Constructor Summary | |
|---|---|
AuthenticateAnswer()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthToken()
|
java.lang.String |
getMessage()
|
int |
getReturnCode()
|
void |
setAuthToken(java.lang.String authToken)
|
void |
setMessage(java.lang.String message)
|
void |
setReturnCode(int returnCode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int returnCode
protected java.lang.String message
protected java.lang.String authToken
| Constructor Detail |
|---|
public AuthenticateAnswer()
| Method Detail |
|---|
public int getReturnCode()
public void setReturnCode(int returnCode)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public java.lang.String getAuthToken()
public void setAuthToken(java.lang.String authToken)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||