|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Authentication token with Facebook-specific extra information.
Field Summary | |
---|---|
String |
_errorMessage
|
String |
_sessionKey
|
Status |
_status
|
long |
_userId
|
long |
serialVersionUID
|
Constructor Summary | |
FacebookAuthenticationToken(def authorities, long userId, String sessionKey)
Created by the OpenIDAuthenticationProvider on successful authentication. |
|
FacebookAuthenticationToken(long userId, String sessionKey)
|
|
FacebookAuthenticationToken(Status status, String errorMessage)
Create a failure token. |
Method Summary | |
---|---|
Object |
getCredentials()
|
String |
getErrorMessage()
Get the error message (if status is error ).
|
Object |
getPrincipal()
|
String |
getSessionKey()
The login session key. |
Status |
getStatus()
The status. |
long |
getUserId()
The Facebook UID. |
Constructor Detail |
---|
public FacebookAuthenticationToken(def authorities, long userId, String sessionKey)
public FacebookAuthenticationToken(long userId, String sessionKey)
public FacebookAuthenticationToken(Status status, String errorMessage)
Method Detail |
---|
public Object getCredentials()
public String getErrorMessage()
error
).
public Object getPrincipal()
public String getSessionKey()
public Status getStatus()
public long getUserId()