@Prototype public class DefaultAuthorizationErrorResponse extends StateAwareAuthorizationCallback implements AuthorizationErrorResponse
AuthorizationErrorResponse
.JSON_KEY_ERROR, JSON_KEY_ERROR_DESCRIPTION, JSON_KEY_ERROR_URI, JSON_KEY_STATE
Constructor and Description |
---|
DefaultAuthorizationErrorResponse(io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> request,
StateSerDes stateSerDes) |
Modifier and Type | Method and Description |
---|---|
ErrorCode |
getError() |
java.lang.String |
getErrorDescription() |
java.lang.String |
getErrorUri() |
java.lang.String |
getStateValue() |
getState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getState
public DefaultAuthorizationErrorResponse(@Parameter io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> request, StateSerDes stateSerDes)
request
- The callback requeststateSerDes
- The state serializer/deserializer@NonNull public ErrorCode getError()
getError
in interface ErrorResponse
@Nullable public java.lang.String getErrorDescription()
getErrorDescription
in interface ErrorResponse
@Nullable public java.lang.String getStateValue()
getStateValue
in class StateAwareAuthorizationCallback
@Nullable public java.lang.String getErrorUri()
getErrorUri
in interface ErrorResponse