public class WindowsLiveClient extends BaseOAuth20Client<WindowsLiveProfile>
WindowsLiveProfile.
More information at http://msdn.microsoft.com/en-us/library/live/hh243641.aspxWindowsLiveProfilelogger, OAUTH_CODEconnectTimeout, key, proxyHost, proxyPort, readTimeout, secret, service, tokenAsHeaderATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, NEEDS_CLIENT_REDIRECTION_PARAMETER| Constructor and Description |
|---|
WindowsLiveClient() |
WindowsLiveClient(String key,
String secret) |
| Modifier and Type | Method and Description |
|---|---|
protected WindowsLiveProfile |
extractUserProfile(String body)
Extract the user profile from the response (JSON, XML...) of the profile url.
|
protected String |
getProfileUrl(org.scribe.model.Token accessToken)
Retrieve the url of the profile of the authenticated user for the provider.
|
protected boolean |
hasBeenCancelled(WebContext context)
Return if the authentication has been cancelled.
|
protected void |
internalInit() |
protected WindowsLiveClient |
newClient() |
protected boolean |
requiresStateParameter()
Return if this client requires a state parameter.
|
getAccessToken, getOAuthCredentials, isDirectRedirection, retrieveAuthorizationUrladdAccessTokenToProfile, clone, createProxyRequest, getConnectTimeout, getKey, getProtocol, getProxyHost, getProxyPort, getReadTimeout, getSecret, getUserProfile, isTokenAsHeader, retrieveCredentials, retrieveRedirectAction, retrieveUserProfile, retrieveUserProfileFromToken, sendRequestForData, sendRequestForData, setConnectTimeout, setKey, setProxyHost, setProxyPort, setReadTimeout, setSecret, setTokenAsHeaderaddAuthorizationGenerator, getAuthorizationGenerators, getCallbackUrl, getContextualCallbackUrl, getCredentials, getName, getRedirectAction, getRedirectionUrl, getUserProfile, isEnableContextualRedirects, prependHostToUrlIfNotPresent, redirect, setAuthorizationGenerator, setAuthorizationGenerators, setCallbackUrl, setEnableContextualRedirects, setName, toStringinit, reinitprotected WindowsLiveClient newClient()
newClient in class BaseClient<OAuthCredentials,WindowsLiveProfile>protected void internalInit()
internalInit in class BaseOAuthClient<WindowsLiveProfile>protected String getProfileUrl(org.scribe.model.Token accessToken)
BaseOAuthClientgetProfileUrl in class BaseOAuthClient<WindowsLiveProfile>accessToken - only used when constructing dynamic urls from data in the tokenprotected WindowsLiveProfile extractUserProfile(String body)
BaseOAuthClientextractUserProfile in class BaseOAuthClient<WindowsLiveProfile>protected boolean requiresStateParameter()
BaseOAuth20ClientrequiresStateParameter in class BaseOAuth20Client<WindowsLiveProfile>protected boolean hasBeenCancelled(WebContext context)
BaseOAuthClienthasBeenCancelled in class BaseOAuthClient<WindowsLiveProfile>context - the web context.Copyright © 2014. All Rights Reserved.