Class DefaultAuthorizationErrorResponse

    • 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 Detail

      • DefaultAuthorizationErrorResponse

        public DefaultAuthorizationErrorResponse​(@Parameter
                                                 io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,​java.lang.Object>> request,
                                                 StateSerDes stateSerDes)
        Parameters:
        request - The callback request
        stateSerDes - The state serializer/deserializer
    • Method Detail

      • getError

        @NonNull
        public io.micronaut.security.errors.ErrorCode getError()
        Specified by:
        getError in interface io.micronaut.security.errors.ErrorResponse
      • getErrorDescription

        @Nullable
        public java.lang.String getErrorDescription()
        Specified by:
        getErrorDescription in interface io.micronaut.security.errors.ErrorResponse
      • getErrorUri

        @Nullable
        public java.lang.String getErrorUri()
        Specified by:
        getErrorUri in interface io.micronaut.security.errors.ErrorResponse