EnableTwoFactorAuthentication
class EnableTwoFactorAuthentication
Traits
Methods
void
dispatchIfListening(string $eventClass, Closure $event)
Dispatch the given event if listeners are registered.
from
DispatchesEvents
void
__invoke(Authenticatable&Model $user, bool $force = false)
Enable two factor authentication for the user.
Details
in
DispatchesEvents at line 16
protected void
dispatchIfListening(string $eventClass, Closure $event)
Dispatch the given event if listeners are registered.
at line 21
__construct(TwoFactorAuthenticationProvider $provider)
No description
at line 29
void
__invoke(Authenticatable&Model $user, bool $force = false)
Enable two factor authentication for the user.