PHP Trait CakeDC\Users\Controller\Traits\UserValidationTrait

Afficher le fichier Open project: cakedc/users

Méthodes publiques

Méthode Description
resendTokenValidation ( ) : mixed Resend Token validation
validate ( string $type = null, string $token = null ) : Response Validates email

Method Details

resendTokenValidation() public méthode

Resend Token validation
public resendTokenValidation ( ) : mixed
Résultat mixed

validate() public méthode

Validates email
public validate ( string $type = null, string $token = null ) : Response
$type string 'email' or 'password' to validate the user
$token string token
Résultat Cake\Network\Response