class ConfirmTwoFactorAuthentication

Traits

Methods

void
dispatchIfListening(string $eventClass, Closure $event)

Dispatch the given event if listeners are registered.

__construct(TwoFactorAuthenticationProvider $provider)

No description

void
__invoke(Authenticatable&Model $user, string $code)

Confirm the two factor authentication configuration for the user.

Details

in DispatchesEvents at line 16
protected void dispatchIfListening(string $eventClass, Closure $event)

Dispatch the given event if listeners are registered.

Parameters

string $eventClass
Closure $event

Return Value

void

at line 20
__construct(TwoFactorAuthenticationProvider $provider)

No description

Parameters

TwoFactorAuthenticationProvider $provider

at line 30
void __invoke(Authenticatable&Model $user, string $code)

Confirm the two factor authentication configuration for the user.

Parameters

Authenticatable&Model $user
string $code

Return Value

void

Exceptions

ValidationException