@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2022-11-05T00:31:27.098Z") public class UserSessionInfo extends Object
Constructor and Description |
---|
UserSessionInfo() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Map<String,String> |
getAttributes()
A map of user profile attributes that have been set for this user (the attributes themselves must be specified in the app's configuration, and the values are stored encrypted in case they capture personally-identifying information).
|
Object |
getClientData()
Client data for a user should be in a syntactically valid JSON format.
|
Map<String,ConsentStatus> |
getConsentStatuses()
A mapping from a subpopulation GUID to information about the participant's consent status in that subpopulation (whether consented or not).
|
DateTime |
getCreatedOn()
The date and time the account was created.
|
List<String> |
getDataGroups()
The data groups set for this user.
|
String |
getEmail()
The user's email.
|
Map<String,EnrollmentInfo> |
getEnrollments()
Records of every enrollment (whether withdrawn or not) in every study for this participant.
|
Environment |
getEnvironment()
Get environment
|
String |
getExternalId()
An externally-assignable identifier a research partner can use to re-identify a user's data in the exported data set (this must be provided by the application, it is not created by Bridge).
|
Map<String,String> |
getExternalIds()
The exernal IDs this participant is associated to, mapped to the study that issued the external ID.
|
String |
getFirstName()
First name (given name) of the user.
|
String |
getId()
An ID assigned to this account by Bridge system.
|
List<String> |
getLanguages()
Two letter language codes to assign to this user (these are initially retrieved from the user's `Accept-Language` header and then persisted as part of account configuration).
|
String |
getLastName()
Last name (family name) of the user.
|
String |
getOrgMembership()
The identifier of the organization this account is a member of (this will be an administrative account and not a study participant).
|
Phone |
getPhone()
Get phone
|
String |
getReauthToken()
A token, supplied when a new session is returned, that can be used to refresh the session at a later time.
|
List<Role> |
getRoles()
Get roles
|
String |
getSessionToken()
The session token that must be returned to the server to access services requiring authentication.
|
SharingScope |
getSharingScope()
Get sharingScope
|
AccountStatus |
getStatus()
Get status
|
List<String> |
getStudyIds()
The studies this participant is associated to.
|
String |
getSynapseUserId()
The numerical identifier for a Synapse account.
|
String |
getType()
UserSessionInfo
|
int |
hashCode() |
Boolean |
isAuthenticated()
Is the user currently authenticated?
|
Boolean |
isConsented()
True if all required consents have been signed.
|
Boolean |
isDataSharing()
True if the sharing scope is anything other than \"no_sharing\".
|
Boolean |
isEmailVerified()
Has the user verified that they have control of this email address?
|
Boolean |
isNotifyByEmail()
True if the user has consented to be contacted via email outside the application, false otherwise.
|
Boolean |
isPhoneVerified()
Has the user verified that they have control of this phone number?
|
Boolean |
isSignedMostRecentConsent()
True if all *required* consents have been signed and the versions signed are the most up-to-date versions of those consents.
|
String |
toString() |
public String getFirstName()
public String getLastName()
public String getExternalId()
public String getId()
public Boolean isNotifyByEmail()
public Map<String,String> getAttributes()
public SharingScope getSharingScope()
public DateTime getCreatedOn()
public Boolean isEmailVerified()
public Boolean isPhoneVerified()
public AccountStatus getStatus()
public List<String> getDataGroups()
public Object getClientData()
public List<String> getLanguages()
public List<String> getStudyIds()
public Map<String,String> getExternalIds()
public Boolean isAuthenticated()
public String getSessionToken()
public String getReauthToken()
public Environment getEnvironment()
public String getEmail()
public Phone getPhone()
public Boolean isDataSharing()
public Boolean isSignedMostRecentConsent()
public String getSynapseUserId()
public Boolean isConsented()
public Map<String,ConsentStatus> getConsentStatuses()
public Map<String,EnrollmentInfo> getEnrollments()
public String getOrgMembership()
public String getType()
Copyright © 2022 Sage Bionetworks. All rights reserved.