public class BitbucketProfile extends OAuth10Profile
This class is the user profile for Bitbucket with appropriate getters.
It is returned by the BitbucketClient
.
Method : | From the JSON profile response : |
---|---|
The attributes of the CommonProfile |
|
String getEmail() | the email attribute |
String getFirstName() | the first_name attribute |
String getFamilyName() | the last_name attribute |
String getDisplayName() | the display_name attribute |
String getUsername() | the username attribute |
Gender getGender() | Gender.UNSPECIFIED |
Locale getLocale() | null |
String getPictureUrl() | the avatar attribute |
String getProfileUrl() | the html_url attribute |
String getLocation() | the resource_uri attribute |
More specific attributes | |
boolean isTeam() | the is_team attribute |
USERNAME
logger, SEPARATOR
Constructor and Description |
---|
BitbucketProfile() |
Modifier and Type | Method and Description |
---|---|
protected AttributesDefinition |
getAttributesDefinition()
Return the attributes definition for this user profile.
|
String |
getFamilyName()
Return the family name of the user.
|
String |
getPictureUrl()
Return the url of the picture of the user.
|
String |
getProfileUrl()
Return the url of the profile of the user.
|
boolean |
isTeam() |
getAccessSecret, setAccessSecret
clear, getAccessToken, setAccessToken
getDisplayName, getEmail, getFirstName, getGender, getLocale, getLocation, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, getAttribute, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternal
protected AttributesDefinition getAttributesDefinition()
UserProfile
getAttributesDefinition
in class UserProfile
public String getFamilyName()
CommonProfile
getFamilyName
in class CommonProfile
public String getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public String getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public boolean isTeam()
Copyright © 2016. All rights reserved.