public class YahooCredentialsExtractor extends Object implements CredentialsExtractor<OpenIdCredentials>
Constructor and Description |
---|
YahooCredentialsExtractor(YahooOpenIdClient client) |
Modifier and Type | Method and Description |
---|---|
OpenIdCredentials |
extract(WebContext context)
Extract the right credentials.
|
public YahooCredentialsExtractor(YahooOpenIdClient client)
public OpenIdCredentials extract(WebContext context) throws HttpAction, CredentialsException
CredentialsExtractor
CredentialsException
in case of failure.extract
in interface CredentialsExtractor<OpenIdCredentials>
context
- the current web contextHttpAction
- requires a specific HTTP action if necessaryCredentialsException
- the credentials are invalidCopyright © 2017. All rights reserved.