PHP Class seregazhuk\PinterestBot\Api\Providers\Password

Inheritance: extends Provider
ファイルを表示 Open project: seregazhuk/php-pinterest-bot

Protected Properties

Property Type Description
$loginRequiredFor array

Public Methods

Method 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

Protected Methods

Method Description
parseCurrentUrl ( ) : string

Method Details

change() public method

public change ( string $oldPassword, string $newPassword ) : boolean
$oldPassword string
$newPassword string
return boolean

parseCurrentUrl() protected method

protected parseCurrentUrl ( ) : string
return string

reset() public method

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

Property Details

$loginRequiredFor protected_oe property

protected array $loginRequiredFor
return array