Property | Type | Description | |
---|---|---|---|
$emailView | string | The view of the activation link e-mail. | |
$mailer | Illuminate\Contracts\Mail\Mailer | The mailer instance. | |
$tokens | Krucas\LaravelUserEmailVerification\Contracts\TokenRepositoryInterface | The verification token repository. | |
$users | Illuminate\Contracts\Auth\UserProvider | The user provider implementation. |
Method | Description | |
---|---|---|
__construct ( Krucas\LaravelUserEmailVerification\Contracts\TokenRepositoryInterface $tokens, Illuminate\Contracts\Auth\UserProvider $users, Illuminate\Contracts\Mail\Mailer $mailer, string $emailView ) | ||
emailVerificationLink ( Krucas\LaravelUserEmailVerification\Contracts\RequiresEmailVerification $user, string $token, Closure $callback = null ) : integer | Send the email verification link via e-mail. | |
getRepository ( ) : Krucas\LaravelUserEmailVerification\Contracts\TokenRepositoryInterface | Get the verification token repository implementation. | |
getUser ( array $credentials ) : Krucas\LaravelUserEmailVerification\Contracts\RequiresEmailVerification | Get the user for the given credentials. | |
sendVerificationLink ( array $credentials, Closure $callback = null ) : string | Send a user verification link. | |
verify ( array $credentials, Closure $callback ) : mixed | Verify given account. |
Method | Description | |
---|---|---|
validateVerification ( array $credentials ) : Krucas\LaravelUserEmailVerification\Contracts\RequiresEmailVerification | Validate verification for the given credentials. |
public __construct ( Krucas\LaravelUserEmailVerification\Contracts\TokenRepositoryInterface $tokens, Illuminate\Contracts\Auth\UserProvider $users, Illuminate\Contracts\Mail\Mailer $mailer, string $emailView ) | ||
$tokens | Krucas\LaravelUserEmailVerification\Contracts\TokenRepositoryInterface | |
$users | Illuminate\Contracts\Auth\UserProvider | |
$mailer | Illuminate\Contracts\Mail\Mailer | |
$emailView | string |
public getRepository ( ) : Krucas\LaravelUserEmailVerification\Contracts\TokenRepositoryInterface | ||
return | Krucas\LaravelUserEmailVerification\Contracts\TokenRepositoryInterface |
protected validateVerification ( array $credentials ) : Krucas\LaravelUserEmailVerification\Contracts\RequiresEmailVerification | ||
$credentials | array | |
return | Krucas\LaravelUserEmailVerification\Contracts\RequiresEmailVerification |
protected string $emailView | ||
return | string |
protected Mailer,Illuminate\Contracts\Mail $mailer | ||
return | Illuminate\Contracts\Mail\Mailer |
protected TokenRepositoryInterface,Krucas\LaravelUserEmailVerification\Contracts $tokens | ||
return | Krucas\LaravelUserEmailVerification\Contracts\TokenRepositoryInterface |