public class YahooOpenIdClient extends IndirectClient<OpenIdCredentials,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 |
DISCOVERY_INFORMATION |
ATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, urlResolver
logger
Constructor and Description |
---|
YahooOpenIdClient() |
Modifier and Type | Method and Description |
---|---|
protected void |
clientInit(WebContext context)
Initialize the client.
|
org.openid4java.consumer.ConsumerManager |
getConsumerManager() |
String |
getDiscoveryInformationSessionAttributeName()
Return the name of the attribute storing in session the discovery information.
|
computeFinalCallbackUrl, defaultLogoutActionBuilder, defaultRedirectActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getLogoutAction, getLogoutActionBuilder, getRedirectAction, getRedirectActionBuilder, getUrlResolver, internalInit, isIncludeClientNameInCallbackUrl, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setIncludeClientNameInCallbackUrl, setLogoutActionBuilder, setRedirectActionBuilder, setUrlResolver, toString
addAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setName, setProfileCreator
init, reinit
public static final String DISCOVERY_INFORMATION
protected void clientInit(WebContext context)
IndirectClient
clientInit
in class IndirectClient<OpenIdCredentials,YahooOpenIdProfile>
context
- the web contextpublic String getDiscoveryInformationSessionAttributeName()
public org.openid4java.consumer.ConsumerManager getConsumerManager()
Copyright © 2018. All rights reserved.