public class OAuthError extends Object
Constructor and Description |
---|
OAuthError() |
OAuthError(String error) |
OAuthError(String error,
String descr) |
Modifier and Type | Method and Description |
---|---|
String |
getError()
Gets the error
|
String |
getErrorDescription()
Gets the error description
|
String |
getErrorUri()
Gets the optional link to the page
describing the error in detail
|
String |
getState()
Gets the client state token
|
void |
setError(String error)
Sets the error such as "invalid_grant", etc
|
void |
setErrorDescription(String errorDescription)
Sets the error description
|
void |
setErrorUri(String errorUri)
Sets the optional link to the page
describing the error in detail
|
void |
setState(String state)
Sets the client state token which needs to be returned
to the client alongside the error information
if it was provided during the client request
|
String |
toString() |
public OAuthError()
public OAuthError(String error)
public void setError(String error)
error
- the errorpublic String getError()
public void setErrorDescription(String errorDescription)
errorDescription
- error descriptionpublic String getErrorDescription()
public void setErrorUri(String errorUri)
errorUri
- error page URIpublic String getErrorUri()
public void setState(String state)
state
- the client state tokenpublic String getState()
Apache CXF