|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.rs.security.oauth2.common.OAuthError
public class OAuthError
Captures OAuth2 error properties
Constructor Summary | |
---|---|
OAuthError()
|
|
OAuthError(String error)
|
|
OAuthError(String error,
String descr)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OAuthError()
public OAuthError(String error)
public OAuthError(String error, String descr)
Method Detail |
---|
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()
errorUri
- error page URIpublic void setState(String state)
state
- the client state tokenpublic String getState()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |