|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.force.sdk.oauth.userdata.UserDataRetrievalService
public class UserDataRetrievalService
Retrieves data about the authenticated user for storage in the SecurityContext.
| Constructor Summary | |
|---|---|
UserDataRetrievalService()
Creates a ForceUserDataRetriever. |
|
UserDataRetrievalService(boolean storeUsername)
Creates the service with the given value for the storeUsername flag. |
|
| Method Summary | |
|---|---|
boolean |
isStoreUsername()
Returns whether or not the username should be stored. |
SecurityContext |
retrieveUserData(String sessionId,
String endpoint,
String refreshToken)
Sets up the user data retriever and retrieves data about the user. |
void |
setStoreUsername(boolean storeUsername)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserDataRetrievalService(boolean storeUsername)
storeUsername flag.
storeUsername - booleanpublic UserDataRetrievalService()
ForceUserDataRetriever.
| Method Detail |
|---|
public SecurityContext retrieveUserData(String sessionId,
String endpoint,
String refreshToken)
throws com.sforce.ws.ConnectionException
sessionId - Stringendpoint - StringrefreshToken - String
com.sforce.ws.ConnectionException - connection errorpublic void setStoreUsername(boolean storeUsername)
public boolean isStoreUsername()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||