RedirectIfAuthenticated
class RedirectIfAuthenticated (View source)
Properties
static protected callable|null | $redirectToCallback | The callback that should be used to generate the authentication redirect path. |
Methods
string|null
redirectTo(Request $request)
Get the path the user should be redirected to when they are authenticated.
string
defaultRedirectUri()
Get the default URI the user should be redirected to when they are authenticated.
static void
redirectUsing(callable $redirectToCallback)
Specify the callback that should be used to generate the redirect path.
Details
protected string|null
redirectTo(Request $request)
Get the path the user should be redirected to when they are authenticated.
protected string
defaultRedirectUri()
Get the default URI the user should be redirected to when they are authenticated.
static void
redirectUsing(callable $redirectToCallback)
Specify the callback that should be used to generate the redirect path.