public final class BearerTokenError
extends org.springframework.security.oauth2.core.OAuth2Error
BearerTokenErrorCodes,
RFC 6750
Section 3: The WWW-Authenticate Response Header Field,
Serialized Form| Constructor and Description |
|---|
BearerTokenError(java.lang.String errorCode,
org.springframework.http.HttpStatus httpStatus,
java.lang.String description,
java.lang.String errorUri)
Create a
BearerTokenError using the provided parameters |
BearerTokenError(java.lang.String errorCode,
org.springframework.http.HttpStatus httpStatus,
java.lang.String description,
java.lang.String errorUri,
java.lang.String scope)
Create a
BearerTokenError using the provided parameters |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.HttpStatus |
getHttpStatus()
Return the HTTP status.
|
java.lang.String |
getScope()
Return the scope.
|
public BearerTokenError(java.lang.String errorCode,
org.springframework.http.HttpStatus httpStatus,
java.lang.String description,
java.lang.String errorUri)
BearerTokenError using the provided parameterserrorCode - the error codehttpStatus - the HTTP statuspublic BearerTokenError(java.lang.String errorCode,
org.springframework.http.HttpStatus httpStatus,
java.lang.String description,
java.lang.String errorUri,
java.lang.String scope)
BearerTokenError using the provided parameterserrorCode - the error codehttpStatus - the HTTP statusdescription - the descriptionerrorUri - the URIscope - the scope