| Package | Description |
|---|---|
| org.apache.shindig.gadgets.oauth2 | |
| org.apache.shindig.gadgets.oauth2.handler |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Error |
OAuth2RequestException.getError()
Get the error code
|
OAuth2Error |
OAuth2Message.getError()
null error indicates the message parsed cleanly and the service provider did not
return an error. |
OAuth2Error |
OAuth2Accessor.getError() |
OAuth2Error |
BasicOAuth2Message.getError() |
OAuth2Error |
BasicOAuth2Accessor.getError() |
static OAuth2Error |
OAuth2Error.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2Error[] |
OAuth2Error.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OAuth2Message.setError(OAuth2Error error) |
void |
BasicOAuth2Message.setError(OAuth2Error error) |
void |
OAuth2Accessor.setErrorResponse(Throwable exception,
OAuth2Error error,
String contextMessage,
String errorUri) |
void |
BasicOAuth2Accessor.setErrorResponse(Throwable exception,
OAuth2Error error,
String contextMessage,
String errorUri) |
| Constructor and Description |
|---|
OAuth2RequestException(OAuth2Error error,
String errorText,
Throwable cause)
Create an exception and record information about the exception to be returned to the gadget.
|
OAuth2RequestException(OAuth2Error error,
String errorText,
Throwable cause,
String errorUri,
String errorDescription)
Create an exception and record information about the exception to be returned to the gadget.
|
| Modifier and Type | Method and Description |
|---|---|
OAuth2Error |
OAuth2HandlerError.getError() |
| Constructor and Description |
|---|
OAuth2HandlerError(OAuth2Error error,
String contextMessage,
Exception cause) |
OAuth2HandlerError(OAuth2Error error,
String contextMessage,
Exception cause,
String uri,
String description) |
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.