blob: 39a4a48e23b2cbc37103e685c9aadd4b0aa4ac7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<?php
/**
* TUserManager class
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
* @copyright Copyright © 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
* @package Prado\Security
*/
namespace Prado\Security;
/**
* TUserManagerPasswordMode class.
* TUserManagerPasswordMode defines the enumerable type for the possible modes
* that user passwords can be specified for a {@link TUserManager}.
*
* The following enumerable values are defined:
* - Clear: the password is in plain text
* - MD5: the password is recorded as the MD5 hash value of the original password
* - SHA1: the password is recorded as the SHA1 hash value of the original password
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @package Prado\Security
* @since 3.0.4
*/
class TUserManagerPasswordMode extends \Prado\TEnumerable
{
const Clear='Clear';
const MD5='MD5';
const SHA1='SHA1';
}
|