PHP Класс Bolt\AccessControl\Password

Автор: Gawain Lynch ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$app Silex\Application

Открытые методы

Метод Описание
__construct ( Silex\Application $app )
resetPasswordConfirm ( string $token, string $remoteIP, Symfony\Component\EventDispatcher\Event $event ) : boolean Handle a password reset confirmation.
resetPasswordRequest ( string $username, string $remoteIP, Symfony\Component\EventDispatcher\Event $event ) : boolean Sends email with password request. Accepts email or username.
setRandomPassword ( string $username ) : string | boolean Set a random password for user.

Приватные методы

Метод Описание
resetPasswordNotification ( Bolt\Storage\Entity\Users $userEntity, string $shadowPassword, string $shadowToken ) Send the password reset link notification to the user.

Описание методов

__construct() публичный Метод

public __construct ( Silex\Application $app )
$app Silex\Application

resetPasswordConfirm() публичный Метод

Handle a password reset confirmation.
public resetPasswordConfirm ( string $token, string $remoteIP, Symfony\Component\EventDispatcher\Event $event ) : boolean
$token string
$remoteIP string
$event Symfony\Component\EventDispatcher\Event
Результат boolean

resetPasswordRequest() публичный Метод

Sends email with password request. Accepts email or username.
public resetPasswordRequest ( string $username, string $remoteIP, Symfony\Component\EventDispatcher\Event $event ) : boolean
$username string
$remoteIP string
$event Symfony\Component\EventDispatcher\Event
Результат boolean

setRandomPassword() публичный Метод

Set a random password for user.
public setRandomPassword ( string $username ) : string | boolean
$username string User specified by ID, username or email address.
Результат string | boolean New password or FALSE when no match for username.

Описание свойств

$app защищенное свойство

protected Application,Silex $app
Результат Silex\Application