Class DefaultAuthorizationErrorResponse
java.lang.Object
io.micronaut.security.oauth2.endpoint.authorization.response.StateAwareAuthorizationCallback
io.micronaut.security.oauth2.endpoint.authorization.response.DefaultAuthorizationErrorResponse
- All Implemented Interfaces:
 ErrorResponse,AuthorizationErrorResponse,StateAware
@Prototype
public class DefaultAuthorizationErrorResponse
extends StateAwareAuthorizationCallback
implements AuthorizationErrorResponse
Default implementation of 
AuthorizationErrorResponse.- Since:
 - 1.2.0
 - Author:
 - Sergio del Amo
 
- 
Field Summary
Fields inherited from interface io.micronaut.security.errors.ErrorResponse
JSON_KEY_ERROR, JSON_KEY_ERROR_DESCRIPTION, JSON_KEY_ERROR_URI, JSON_KEY_STATE - 
Constructor Summary
ConstructorsConstructorDescriptionDefaultAuthorizationErrorResponse(io.micronaut.http.HttpRequest<Map<String, Object>> request, StateSerDes stateSerDes)  - 
Method Summary
Methods inherited from class io.micronaut.security.oauth2.endpoint.authorization.response.StateAwareAuthorizationCallback
getStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.security.oauth2.endpoint.authorization.response.AuthorizationErrorResponse
getState 
- 
Constructor Details
- 
DefaultAuthorizationErrorResponse
public DefaultAuthorizationErrorResponse(@Parameter io.micronaut.http.HttpRequest<Map<String, Object>> request, StateSerDes stateSerDes) - Parameters:
 request- The callback requeststateSerDes- The state serializer/deserializer
 
 - 
 - 
Method Details
- 
getError
- Specified by:
 getErrorin interfaceErrorResponse- Returns:
 - The error code
 
 - 
getErrorDescription
- Specified by:
 getErrorDescriptionin interfaceErrorResponse- Returns:
 - Human-readable ASCII [USASCII] text providing additional information, used to assist the client developer in understanding the errorCode that occurred.
 
 - 
getStateValue
- Specified by:
 getStateValuein classStateAwareAuthorizationCallback- Returns:
 - The state string value
 
 - 
getErrorUri
- Specified by:
 getErrorUriin interfaceErrorResponse- Returns:
 - URI identifying a human-readable web page with information about the errorCode
 
 
 -