@Deprecated public class LinkedInClient extends BaseOAuth10Client<LinkedInProfile>
Deprecated! Upgrade to LinkedIn2Client!
This class is the OAuth client to authenticate user in LinkedIn.
It returns a LinkedInProfile.
More information at https://developer.linkedin.com/documents/profile-api
LinkedInProfilelogger, OAUTH_TOKEN, OAUTH_VERIFIER, REQUEST_TOKENconnectTimeout, key, proxyHost, proxyPort, readTimeout, secret, service, tokenAsHeaderATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, NEEDS_CLIENT_REDIRECTION_PARAMETER| Constructor and Description |
|---|
LinkedInClient()
Deprecated.
|
LinkedInClient(String key,
String secret)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected LinkedInProfile |
extractUserProfile(String body)
Deprecated.
Extract the user profile from the response (JSON, XML...) of the profile url.
|
protected String |
getProfileUrl(org.scribe.model.Token accessToken)
Deprecated.
Retrieve the url of the profile of the authenticated user for the provider.
|
protected boolean |
hasBeenCancelled(WebContext context)
Deprecated.
Return if the authentication has been cancelled.
|
protected void |
internalInit()
Deprecated.
|
protected LinkedInClient |
newClient()
Deprecated.
|
addAccessTokenToProfile, getAccessToken, getOAuthCredentials, getRequestTokenSessionAttributeName, isDirectRedirection, retrieveAuthorizationUrlclone, createProxyRequest, getConnectTimeout, getKey, getMechanism, getProxyHost, getProxyPort, getReadTimeout, getSecret, getUserProfile, isTokenAsHeader, retrieveCredentials, retrieveRedirectAction, retrieveUserProfile, retrieveUserProfileFromToken, sendRequestForData, sendRequestForData, setConnectTimeout, setKey, setProxyHost, setProxyPort, setReadTimeout, setSecret, setTokenAsHeaderaddAuthorizationGenerator, getAuthenticator, getAuthorizationGenerators, getCallbackUrl, getContextualCallbackUrl, getCredentials, getName, getProfileCreator, getRedirectAction, getRedirectionUrl, getStateParameter, getUserProfile, isEnableContextualRedirects, isIncludeClientNameInCallbackUrl, prependHostToUrlIfNotPresent, redirect, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setCallbackUrl, setEnableContextualRedirects, setIncludeClientNameInCallbackUrl, setName, setProfileCreator, toStringinit, reinitprotected LinkedInClient newClient()
newClient in class BaseClient<OAuthCredentials,LinkedInProfile>protected void internalInit()
internalInit in class BaseOAuthClient<LinkedInProfile>protected String getProfileUrl(org.scribe.model.Token accessToken)
BaseOAuthClientgetProfileUrl in class BaseOAuthClient<LinkedInProfile>accessToken - only used when constructing dynamic urls from data in the tokenprotected boolean hasBeenCancelled(WebContext context)
BaseOAuthClienthasBeenCancelled in class BaseOAuthClient<LinkedInProfile>context - the web context.protected LinkedInProfile extractUserProfile(String body)
BaseOAuthClientextractUserProfile in class BaseOAuthClient<LinkedInProfile>body - the response bodyCopyright © 2015. All Rights Reserved.