new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
<?php namespace ZN\Authentication;
|
||||
/**
|
||||
* ZN PHP Web Framework
|
||||
*
|
||||
* "Simplicity is the ultimate sophistication." ~ Da Vinci
|
||||
*
|
||||
* @package ZN
|
||||
* @license MIT [http://opensource.org/licenses/MIT]
|
||||
* @author Ozan UYKUN [ozan@znframework.com]
|
||||
*/
|
||||
|
||||
/**
|
||||
* Default Configuration
|
||||
*
|
||||
* Enabled when the configuration file can not be accessed.
|
||||
*/
|
||||
class AuthenticationDefaultConfiguration
|
||||
{
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| User
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Includes configurations for the User library.
|
||||
|
|
||||
| encode: When the user is registered in, the algorithm to encrypt the
|
||||
| password is set.
|
||||
|
|
||||
| matching: It specifies which tables and columns the User class will use.
|
||||
|
|
||||
| joining: This setting is used if the users table consists of joined
|
||||
| tables.
|
||||
|
|
||||
| emailSenderInfo: This is to specify the sender name and email
|
||||
| information of the e-mail to be sent during the activation process or
|
||||
| password forgotten operations.
|
||||
|
|
||||
*/
|
||||
|
||||
public $encode = 'md5';
|
||||
public $spectator = '';
|
||||
public $matching =
|
||||
[
|
||||
'table' => '',
|
||||
'columns' =>
|
||||
[
|
||||
'username' => '', # Required
|
||||
'password' => '', # Required
|
||||
'email' => '', # Relative
|
||||
'active' => '', # Relative
|
||||
'banned' => '', # Relative
|
||||
'activation' => '', # Relative
|
||||
'verification' => '', # Rleative
|
||||
'otherLogin' => [] # Relative
|
||||
]
|
||||
];
|
||||
public $joining =
|
||||
[
|
||||
'column' => '',
|
||||
'tables' => []
|
||||
];
|
||||
public $emailSenderInfo =
|
||||
[
|
||||
'name' => '',
|
||||
'mail' => ''
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user