Package com.mongodb.stitch.core.auth
Interface StitchUserProfile
-
- All Known Implementing Classes:
ApiCoreUserProfile
,StitchUserProfileImpl
public interface StitchUserProfile
Profile information on a Stitch user. The values here are sourced from the providers that a user is linked to and as such, the information here is sparse.
-
-
Method Summary
Modifier and Type Method Description String
getBirthday()
Returns the birthday of the user.String
getEmail()
Returns the email of the user.String
getFirstName()
Returns the first name of the user.String
getGender()
Returns the gender of the user.String
getLastName()
Returns the last name of the user.String
getMaxAge()
Returns the maximum age of the user.String
getMinAge()
Returns the minmum age of the user.String
getName()
Returns the name of the user.String
getPictureUrl()
Returns the url to a picture of the user.
-
-
-
Method Detail
-
getPictureUrl
@Nullable String getPictureUrl()
Returns the url to a picture of the user.- Returns:
- the url to a picture of the user.
-
getFirstName
@Nullable String getFirstName()
Returns the first name of the user.- Returns:
- the first name of the user.
-
getLastName
@Nullable String getLastName()
Returns the last name of the user.- Returns:
- the last name of the user.
-
getGender
@Nullable String getGender()
Returns the gender of the user.- Returns:
- the gender of the user.
-
getBirthday
@Nullable String getBirthday()
Returns the birthday of the user.- Returns:
- the birthday of the user.
-
getMinAge
@Nullable String getMinAge()
Returns the minmum age of the user.- Returns:
- the minmum age of the user.
-
-