Package org.pac4j.openid.client
Class YahooOpenIdClient
- java.lang.Object
-
- org.pac4j.core.util.InitializableObject
-
- org.pac4j.core.client.BaseClient<C>
-
- org.pac4j.core.client.IndirectClient<OpenIdCredentials>
-
- org.pac4j.openid.client.YahooOpenIdClient
-
- All Implemented Interfaces:
Client<OpenIdCredentials>
public class YahooOpenIdClient extends IndirectClient<OpenIdCredentials>
This class is the OpenID client to authenticate users with their yahoo account.
It returns a
YahooOpenIdProfile
.- Since:
- 1.6.0
- Author:
- Patrice de Saint Steban
- See Also:
YahooOpenIdProfile
-
-
Field Summary
Fields Modifier and Type Field Description static String
DISCOVERY_INFORMATION
-
Fields inherited from class org.pac4j.core.client.IndirectClient
ATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolver, urlResolver
-
Fields inherited from class org.pac4j.core.client.BaseClient
logger
-
-
Constructor Summary
Constructors Constructor Description YahooOpenIdClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clientInit()
org.openid4java.consumer.ConsumerManager
getConsumerManager()
String
getDiscoveryInformationSessionAttributeName()
Return the name of the attribute storing in session the discovery information.-
Methods inherited from class org.pac4j.core.client.IndirectClient
computeFinalCallbackUrl, defaultLogoutActionBuilder, defaultRedirectionActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getLogoutAction, getLogoutActionBuilder, getNonceSessionAttributeName, getRedirectionAction, getRedirectionActionBuilder, getStateSessionAttributeName, getUrlResolver, internalInit, newDefaultCallbackUrlResolver, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setLogoutActionBuilder, setRedirectionActionBuilder, setUrlResolver, toString
-
Methods inherited from class org.pac4j.core.client.BaseClient
addAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getUserProfile, notifySessionRenewal, renewUserProfile, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreator
-
Methods inherited from class org.pac4j.core.util.InitializableObject
init, isInitialized
-
-
-
-
Field Detail
-
DISCOVERY_INFORMATION
public static final String DISCOVERY_INFORMATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
clientInit
protected void clientInit()
- Specified by:
clientInit
in classIndirectClient<OpenIdCredentials>
-
getDiscoveryInformationSessionAttributeName
public String getDiscoveryInformationSessionAttributeName()
Return the name of the attribute storing in session the discovery information.- Returns:
- the name of the attribute storing in session the discovery information
-
getConsumerManager
public org.openid4java.consumer.ConsumerManager getConsumerManager()
-
-