Свойство | 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. |
Méthode | 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. |
Méthode | 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 | ||
Résultat | Krucas\LaravelUserEmailVerification\Contracts\TokenRepositoryInterface |
protected validateVerification ( array $credentials ) : Krucas\LaravelUserEmailVerification\Contracts\RequiresEmailVerification | ||
$credentials | array | |
Résultat | Krucas\LaravelUserEmailVerification\Contracts\RequiresEmailVerification |
protected string $emailView | ||
Résultat | string |
protected Mailer,Illuminate\Contracts\Mail $mailer | ||
Résultat | Illuminate\Contracts\Mail\Mailer |
protected TokenRepositoryInterface,Krucas\LaravelUserEmailVerification\Contracts $tokens | ||
Résultat | Krucas\LaravelUserEmailVerification\Contracts\TokenRepositoryInterface |