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, callbackUrlResolver, NEEDS_CLIENT_REDIRECTION_PARAMETERlogger| 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.
|
protected void |
internalInit(WebContext context)
Internal initialization of the object.
|
protected BaseClient<OpenIdCredentials,YahooOpenIdProfile> |
newClient()
Create a new instance of the client.
|
String |
toString() |
getClientType, getDiscoveryInformationSessionAttributeName, isDirectRedirection, retrieveCredentials, retrieveRedirectAction, retrieveUserProfilecomputeFinalCallbackUrl, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getRedirectAction, getRedirectionUrl, getStateParameter, isIncludeClientNameInCallbackUrl, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setIncludeClientNameInCallbackUrladdAuthorizationGenerator, clone, getAuthorizationGenerators, getName, getUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setNameinit, reinitpublic static final String YAHOO_GENERIC_USER_IDENTIFIER
protected void internalInit(WebContext context)
InitializableWebObjectinternalInit in class BaseOpenIdClient<YahooOpenIdProfile>context - the web contextprotected BaseClient<OpenIdCredentials,YahooOpenIdProfile> newClient()
BaseClientnewClient in class BaseClient<OpenIdCredentials,YahooOpenIdProfile>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
BaseOpenIdClientcreateProfile in class BaseOpenIdClient<YahooOpenIdProfile>authSuccess - the authentication success messageorg.openid4java.message.MessageException - an OpenID exceptionpublic String toString()
toString in class BaseClient<OpenIdCredentials,YahooOpenIdProfile>Copyright © 2016. All rights reserved.