|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.netheos.pcsapi.credentials.UserCredentials<T>
public class UserCredentials<T extends Credentials>
This class holds user_id and credentials (password or OAuth2 tokens). Credentials is a dictionary here.
| Constructor Summary | |
|---|---|
UserCredentials(AppInfo appInfo,
String userId,
T credentials)
|
|
| Method Summary | |
|---|---|
AppInfo |
getAppInfo()
Get the application informations |
T |
getCredentials()
Get the user credentials |
String |
getUserId()
Get the user identifier |
void |
setUserId(String userId)
Set the user identifier |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UserCredentials(AppInfo appInfo,
String userId,
T credentials)
| Method Detail |
|---|
public T getCredentials()
public AppInfo getAppInfo()
public String getUserId()
public void setUserId(String userId)
userId - The user identifierpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||