public static function Middleware::redirect in Auth0 Single Sign On 8.2
Middleware that handles request redirects.
Return value
callable Returns a function that accepts the next handler.
1 call to Middleware::redirect()
- HandlerStack::create in vendor/
guzzlehttp/ guzzle/ src/ HandlerStack.php - Creates a default handler stack that can be used by clients.
File
- vendor/
guzzlehttp/ guzzle/ src/ Middleware.php, line 146
Class
- Middleware
- Functions used to create and wrap handlers with handler middleware.
Namespace
GuzzleHttpCode
public static function redirect() {
return function (callable $handler) {
return new RedirectMiddleware($handler);
};
}