Class BearerTokenError
java.lang.Object
com.codename1.backend.security.oauth2.core.OAuth2Error
com.codename1.backend.security.oauth2.server.resource.BearerTokenError
- All Implemented Interfaces:
Serializable
An error a request with a bearer token is answered with (RFC 6750 3.1): the
code, the status it is sent under, and the scope it would have needed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBearerTokenError(String errorCode, int httpStatus, String description, String errorUri) BearerTokenError(String errorCode, int httpStatus, String description, String errorUri, String scope) -
Method Summary
Methods inherited from class OAuth2Error
getDescription, getErrorCode, getUri, toString
-
Constructor Details
-
BearerTokenError
-
BearerTokenError
-
-
Method Details
-
getHttpStatus
public int getHttpStatus() -
getScope
The scope the request needed, or null.
-