PHP Class seregazhuk\PinterestBot\Api\Providers\Password

Inheritance: extends Provider
Afficher le fichier Open project: seregazhuk/php-pinterest-bot

Protected Properties

Свойство Type Description
$loginRequiredFor array

Méthodes publiques

Méthode Description
change ( string $oldPassword, string $newPassword ) : boolean
reset ( string $link, string $newPassword ) : boolean | Response Set a new password by link from reset password email
sendResetLink ( string $user ) : boolean Ask for password reset link in email

Méthodes protégées

Méthode Description
parseCurrentUrl ( ) : string

Method Details

change() public méthode

public change ( string $oldPassword, string $newPassword ) : boolean
$oldPassword string
$newPassword string
Résultat boolean

parseCurrentUrl() protected méthode

protected parseCurrentUrl ( ) : string
Résultat string

reset() public méthode

Set a new password by link from reset password email
public reset ( string $link, string $newPassword ) : boolean | Response
$link string
$newPassword string
Résultat boolean | seregazhuk\PinterestBot\Api\Response

Property Details

$loginRequiredFor protected_oe property

protected array $loginRequiredFor
Résultat array