-
- All Implemented Interfaces:
-
java.io.Serializable
public final class UserProfile implements Serializable
Class that holds the information of a user's profile in Auth0. Used both in com.auth0.android.management.UsersAPIClient and com.auth0.android.authentication.AuthenticationAPIClient.
-
-
Constructor Summary
Constructors Constructor Description UserProfile(String id, String name, String nickname, String pictureURL, String email, Boolean isEmailVerified, String familyName, Date createdAt, List<UserIdentity> identities, Map<String, Object> extraInfo, Map<String, Object> userMetadata, Map<String, Object> appMetadata, String givenName)
-
Method Summary
Modifier and Type Method Description final String
getId()
Getter for the unique Identifier of the user. final Map<String, Object>
getUserMetadata()
final Map<String, Object>
getAppMetadata()
final List<UserIdentity>
getIdentities()
final Map<String, Object>
getExtraInfo()
Returns extra information of the profile that is not part of the normalized profile final String
getName()
final String
getNickname()
final String
getPictureURL()
final String
getEmail()
final Boolean
getIsEmailVerified()
final String
getFamilyName()
final Date
getCreatedAt()
final String
getGivenName()
-
-
Constructor Detail
-
UserProfile
UserProfile(String id, String name, String nickname, String pictureURL, String email, Boolean isEmailVerified, String familyName, Date createdAt, List<UserIdentity> identities, Map<String, Object> extraInfo, Map<String, Object> userMetadata, Map<String, Object> appMetadata, String givenName)
-
-
Method Detail
-
getId
final String getId()
Getter for the unique Identifier of the user. If this represents a Full User Profile (Management API) the 'id' field will be returned. If the value is not present, it will be considered a User Information and the id will be obtained from the 'sub' claim.
-
getUserMetadata
final Map<String, Object> getUserMetadata()
-
getAppMetadata
final Map<String, Object> getAppMetadata()
-
getIdentities
final List<UserIdentity> getIdentities()
-
getExtraInfo
final Map<String, Object> getExtraInfo()
Returns extra information of the profile that is not part of the normalized profile
-
getNickname
final String getNickname()
-
getPictureURL
final String getPictureURL()
-
getIsEmailVerified
final Boolean getIsEmailVerified()
-
getFamilyName
final String getFamilyName()
-
getCreatedAt
final Date getCreatedAt()
-
getGivenName
final String getGivenName()
-
-
-
-