PHP Trait Jrean\UserVerification\Traits\VerifiesUsers

Inheritance: use trait RedirectsUsers
Datei anzeigen Open project: jrean/laravel-user-verification

Public Methods

Method Description
getVerification ( Illuminate\Http\Request $request, string $token ) : Response Handle the user verification.
getVerificationError ( ) : Response Show the verification error view.

Protected Methods

Method Description
userTable ( ) : string Get the user table name.
validateRequest ( Illuminate\Http\Request $request ) : Response Validate the verification link.
verificationEmailView ( ) : string Get the verification e-mail view name.
verificationErrorView ( ) : string Get the verification error view name.

Method Details

getVerification() public method

Handle the user verification.
public getVerification ( Illuminate\Http\Request $request, string $token ) : Response
$request Illuminate\Http\Request
$token string
return Response

getVerificationError() public method

Show the verification error view.
public getVerificationError ( ) : Response
return Response

userTable() protected method

Get the user table name.
protected userTable ( ) : string
return string

validateRequest() protected method

Validate the verification link.
protected validateRequest ( Illuminate\Http\Request $request ) : Response
$request Illuminate\Http\Request
return Response

verificationEmailView() protected method

Get the verification e-mail view name.
protected verificationEmailView ( ) : string
return string

verificationErrorView() protected method

Get the verification error view name.
protected verificationErrorView ( ) : string
return string