public class BitbucketProfileDefinition extends OAuth10ProfileDefinition<BitbucketProfile>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AVATAR |
static java.lang.String |
IS_TEAM |
static java.lang.String |
LAST_NAME |
static java.lang.String |
RESOURCE_URI |
DISPLAY_NAME, EMAIL, FAMILY_NAME, FIRST_NAME, GENDER, LOCALE, LOCATION, PICTURE_URL, PROFILE_URLlogger, newProfile| Constructor and Description |
|---|
BitbucketProfileDefinition() |
| Modifier and Type | Method and Description |
|---|---|
BitbucketProfile |
extractUserProfile(java.lang.String body)
Extract the user profile from the response (JSON, XML...) of the profile url.
|
java.lang.String |
getProfileUrl(com.github.scribejava.core.model.OAuth1Token token,
OAuth10Configuration configuration)
Retrieve the url of the profile of the authenticated user for the provider.
|
getProfileVerbconvertAndAdd, convertAndAdd, getConverters, getPrimaryAttributes, getProfileId, getSecondaryAttributes, newProfile, primary, secondary, setProfileFactory, setProfileIdpublic static final java.lang.String LAST_NAME
public static final java.lang.String IS_TEAM
public static final java.lang.String AVATAR
public static final java.lang.String RESOURCE_URI
public java.lang.String getProfileUrl(com.github.scribejava.core.model.OAuth1Token token,
OAuth10Configuration configuration)
OAuthProfileDefinitiongetProfileUrl in class OAuthProfileDefinition<BitbucketProfile,com.github.scribejava.core.model.OAuth1Token,OAuth10Configuration>token - only used when constructing dynamic urls from data in the tokenconfiguration - the current configurationpublic BitbucketProfile extractUserProfile(java.lang.String body)
OAuthProfileDefinitionextractUserProfile in class OAuthProfileDefinition<BitbucketProfile,com.github.scribejava.core.model.OAuth1Token,OAuth10Configuration>body - the response bodyCopyright © 2018. All Rights Reserved.