TwoFactorAuthenticatedSessionController
class TwoFactorAuthenticatedSessionController extends Controller
Traits
Properties
| protected array | $middleware | The middleware registered on the controller. |
from Controller |
Methods
Register middleware on the controller.
Execute an action on the controller.
Handle calls to missing methods on the controller.
Dispatch the given event if listeners are registered.
Attempt to authenticate a new session using the two factor authentication code.
Determine if the request has a valid recovery code.
Details
in
Controller at line 20
ControllerMiddlewareOptions
middleware(Closure|array|string $middleware, array $options = [])
Register middleware on the controller.
in
Controller at line 35
array
getMiddleware()
Get the middleware assigned to the controller.
in
Controller at line 43
mixed
callAction(string $method, array $parameters)
Execute an action on the controller.
in
Controller at line 53
mixed
__call(string $method, array $parameters)
Handle calls to missing methods on the controller.
in
DispatchesEvents at line 16
protected void
dispatchIfListening(string $eventClass, Closure $event)
Dispatch the given event if listeners are registered.
at line 26
__construct(Container $container)
No description
at line 34
TwoFactorChallengeViewResponse
create(TwoFactorLoginRequest $request)
Show the two factor authentication challenge view.
at line 46
mixed
store(TwoFactorLoginRequest $request)
Attempt to authenticate a new session using the two factor authentication code.
at line 76
protected bool
hasValidRecoveryCode(TwoFactorLoginRequest $request, Authenticatable&Model&TwoFactorAuthenticationUser $user)
Determine if the request has a valid recovery code.