public class YahooAuthenticator extends Object implements Authenticator<OpenIdCredentials>
Constructor and Description |
---|
YahooAuthenticator(YahooOpenIdClient client) |
Modifier and Type | Method and Description |
---|---|
protected YahooOpenIdProfile |
createProfile(org.openid4java.message.AuthSuccess authSuccess) |
void |
validate(OpenIdCredentials credentials,
WebContext context)
Validate the credentials.
|
public YahooAuthenticator(YahooOpenIdClient client)
public void validate(OpenIdCredentials credentials, WebContext context) throws HttpAction, CredentialsException
Authenticator
CredentialsException
in case of failure.validate
in interface Authenticator<OpenIdCredentials>
credentials
- the given credentialscontext
- the web contextHttpAction
- requires a specific HTTP action if necessaryCredentialsException
- the credentials are invalidprotected YahooOpenIdProfile createProfile(org.openid4java.message.AuthSuccess authSuccess) throws org.openid4java.message.MessageException, HttpAction
org.openid4java.message.MessageException
HttpAction
Copyright © 2017. All rights reserved.