Middleware Namespaces Access Auth Server Interfaces, Classes and Traits ErrorHandler Wraps uncaught exceptions into a JSON response. HttpsRedirect Returns 301/308 in case the request was made to plain HTTP.