mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
- replaced release version with package version in @since and @depreacated tags - removed @since tag from private properties/methods and non @api classes
49 lines
1.1 KiB
PHP
49 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Security\Model;
|
|
|
|
/**
|
|
* PasswordResetRequestEvent Model
|
|
*
|
|
* @method string getAccountReference()
|
|
* @method PasswordResetRequestEvent setAccountReference(string $reference)
|
|
* @method int getRequestType()
|
|
* @method string getCreatedAt()
|
|
* @method PasswordResetRequestEvent setRequestType(int $requestType)
|
|
* @method string getIp()
|
|
* @method PasswordResetRequestEvent setIp(int $ip)
|
|
*
|
|
* @api
|
|
* @since 100.1.0
|
|
*/
|
|
class PasswordResetRequestEvent extends \Magento\Framework\Model\AbstractModel
|
|
{
|
|
/**
|
|
* Type of the event under a security control definition
|
|
*/
|
|
|
|
/**
|
|
* Customer request a password reset
|
|
*/
|
|
const CUSTOMER_PASSWORD_RESET_REQUEST = 0;
|
|
|
|
/**
|
|
* Admin User request a password reset
|
|
*/
|
|
const ADMIN_PASSWORD_RESET_REQUEST = 1;
|
|
|
|
/**
|
|
* Initialize resource model
|
|
*
|
|
* @return void
|
|
* @since 100.1.0
|
|
*/
|
|
protected function _construct()
|
|
{
|
|
$this->_init(\Magento\Security\Model\ResourceModel\PasswordResetRequestEvent::class);
|
|
}
|
|
}
|