public class YahooOpenIdClient extends BaseOpenIdClient<YahooOpenIdProfile>
This class is the OpenID client to authenticate users with their yahoo account.
It returns a YahooOpenIdProfile.
YahooOpenIdProfile| Modifier and Type | Field and Description |
|---|---|
static String |
YAHOO_GENERIC_USER_IDENTIFIER |
DISCOVERY_INFORMATIONATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolverlogger| Constructor and Description |
|---|
YahooOpenIdClient() |
| Modifier and Type | Method and Description |
|---|---|
protected YahooOpenIdProfile |
createProfile(org.openid4java.message.AuthSuccess authSuccess)
Create the appropriate OpenID profile.
|
protected org.openid4java.message.ax.FetchRequest |
getFetchRequest()
Get a fetch request for attributes.
|
protected String |
getUser(WebContext context)
Return the user identifier for the web context.
|
String |
toString() |
getDiscoveryInformationSessionAttributeName, internalInit, retrieveCredentials, retrieveRedirectAction, retrieveUserProfilecomputeFinalCallbackUrl, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getRedirectAction, getStateParameter, isIncludeClientNameInCallbackUrl, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setIncludeClientNameInCallbackUrladdAuthorizationGenerator, addAuthorizationGenerators, getAuthorizationGenerators, getName, getUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setNameinit, reinitpublic static final String YAHOO_GENERIC_USER_IDENTIFIER
protected String getUser(WebContext context)
BaseOpenIdClientgetUser in class BaseOpenIdClient<YahooOpenIdProfile>context - the web contextprotected org.openid4java.message.ax.FetchRequest getFetchRequest()
throws org.openid4java.message.MessageException
BaseOpenIdClientgetFetchRequest in class BaseOpenIdClient<YahooOpenIdProfile>org.openid4java.message.MessageException - an OpenID exceptionprotected YahooOpenIdProfile createProfile(org.openid4java.message.AuthSuccess authSuccess) throws org.openid4java.message.MessageException, HttpAction
BaseOpenIdClientcreateProfile in class BaseOpenIdClient<YahooOpenIdProfile>authSuccess - the authentication success messageorg.openid4java.message.MessageException - an OpenID exceptionHttpAction - whether an additional HTTP action is requiredpublic String toString()
toString in class IndirectClient<OpenIdCredentials,YahooOpenIdProfile>Copyright © 2017. All rights reserved.