PHP Class Pop\Auth\Adapter\File

Author: Nick Sagona, III ([email protected])
Inheritance: extends AbstractAdapter
Afficher le fichier Open project: nicksagona/PopPHP

Protected Properties

Свойство Type Description
$delimiter string Field delimiter
$users array Users

Méthodes publiques

Méthode Description
__construct ( string $filename, string $delimiter = '|' ) : File Constructor
authenticate ( string $username, string $password, integer $encryption, array $options ) : integer Method to authenticate the user

Méthodes protégées

Méthode Description
parse ( string $filename ) : void Method to parse the source file.

Method Details

__construct() public méthode

Instantiate the AuthFile object
public __construct ( string $filename, string $delimiter = '|' ) : File
$filename string
$delimiter string
Résultat File

authenticate() public méthode

Method to authenticate the user
public authenticate ( string $username, string $password, integer $encryption, array $options ) : integer
$username string
$password string
$encryption integer
$options array
Résultat integer

parse() protected méthode

Method to parse the source file.
protected parse ( string $filename ) : void
$filename string
Résultat void

Property Details

$delimiter protected_oe property

Field delimiter
protected string $delimiter
Résultat string

$users protected_oe property

Users
protected array $users
Résultat array