public class Profile extends Object implements Serializable
| Constructor and Description |
|---|
Profile() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getContactInfo()
Retrieves the contact information.
|
String |
getCountry()
Retrieves the country
|
String |
getDisplayName()
Retrieves the display name
|
BirthDate |
getDob()
Retrieves the date of birth
|
String |
getEmail()
Returns the email address.
|
String |
getFirstName()
Retrieves the first name
|
String |
getFullName()
Retrieves the full name
|
String |
getGender()
Retrieves the gender
|
String |
getLanguage()
Retrieves the language
|
String |
getLastName()
Retrieves the last name
|
String |
getLocation()
Retrieves the location
|
String |
getProfileImageURL()
Retrieves the profile image URL
|
String |
getProviderId()
Retrieves the provider id with this profile associates
|
String |
getRawResponse()
Retrieves the raw response xml/json in string which is returned by the
provider for this object.
|
String |
getValidatedId()
Retrieves the validated id
|
void |
setContactInfo(Map<String,String> contactInfo)
Updates the contact info.
|
void |
setCountry(String country)
Updates the country
|
void |
setDisplayName(String displayName)
Updates the display name
|
void |
setDob(BirthDate dob)
Updates the date of birth
|
void |
setEmail(String email)
Updates the email
|
void |
setFirstName(String firstName)
Updates the first name
|
void |
setFullName(String fullName)
Updates the full name
|
void |
setGender(String gender)
Updates the gender
|
void |
setLanguage(String language)
Updates the language
|
void |
setLastName(String lastName)
Updates the last name
|
void |
setLocation(String location)
Updates the location
|
void |
setProfileImageURL(String profileImageURL)
Updates the profile image URL
|
void |
setProviderId(String providerId)
Updates the provider id
|
void |
setRawResponse(String rawResponse)
Updates raw response xml/json return by the provider for this object
call.
|
void |
setValidatedId(String validatedId)
Updates the validated id
|
String |
toString()
Retrieves the profile info as a string
|
public String getFirstName()
public void setFirstName(String firstName)
firstName - the first name of userpublic String getLastName()
public void setLastName(String lastName)
lastName - the last name of userpublic String getEmail()
public void setEmail(String email)
email - the email of userpublic String getValidatedId()
public void setValidatedId(String validatedId)
validatedId - the validated id of userpublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - the display name of userpublic String getCountry()
public void setCountry(String country)
country - the country of userpublic String getLanguage()
public void setLanguage(String language)
language - the language of userpublic String getFullName()
public void setFullName(String fullName)
fullName - the full name of userpublic BirthDate getDob()
public void setDob(BirthDate dob)
dob - the date of birth of userpublic String getGender()
public void setGender(String gender)
gender - the gender of userpublic String getLocation()
public void setLocation(String location)
location - the location of userpublic String getProfileImageURL()
public void setProfileImageURL(String profileImageURL)
profileImageURL - profile image URL of userpublic String getProviderId()
public void setProviderId(String providerId)
providerId - the provider idpublic Map<String,String> getContactInfo()
public void setContactInfo(Map<String,String> contactInfo)
contactInfo - the map which contains the contact informationpublic String getRawResponse()
SocialAuthConfig#setRawResponse(boolean) to true to save this
response in object.public void setRawResponse(String rawResponse)
SocialAuthConfig#setRawResponse(boolean) to true to
save this response in object.rawResponse - Copyright © 2018. All Rights Reserved.