PHP Class App\Api\V1\Controllers\ResetPasswordController

Inheritance: extends App\Http\Controllers\Controller
Afficher le fichier Open project: francescomalatesta/laravel-api-boilerplate-jwt

Méthodes publiques

Méthode Description
broker ( ) : Illuminate\Contracts\Auth\PasswordBroker Get the broker to be used during password reset.
resetPassword ( ResetPasswordRequest $request, Tymon\JWTAuth\JWTAuth $JWTAuth )

Méthodes protégées

Méthode Description
credentials ( ResetPasswordRequest $request ) : array Get the password reset credentials from the request.
reset ( Illuminate\Contracts\Auth\CanResetPassword $user, string $password ) : void Reset the given user's password.

Method Details

broker() public méthode

Get the broker to be used during password reset.
public broker ( ) : Illuminate\Contracts\Auth\PasswordBroker
Résultat Illuminate\Contracts\Auth\PasswordBroker

credentials() protected méthode

Get the password reset credentials from the request.
protected credentials ( ResetPasswordRequest $request ) : array
$request App\Api\V1\Requests\ResetPasswordRequest
Résultat array

reset() protected méthode

Reset the given user's password.
protected reset ( Illuminate\Contracts\Auth\CanResetPassword $user, string $password ) : void
$user Illuminate\Contracts\Auth\CanResetPassword
$password string
Résultat void

resetPassword() public méthode

public resetPassword ( ResetPasswordRequest $request, Tymon\JWTAuth\JWTAuth $JWTAuth )
$request App\Api\V1\Requests\ResetPasswordRequest
$JWTAuth Tymon\JWTAuth\JWTAuth