Auth_Container_Array
Auth_Container_Array -- Authenticate against an array of usernames and passwords
Array
This storage container provides a simple way to store a limited
number of username/password pairs within the source code of the script.
The storage-specific argument for the
Auth constructor()
is an array of options.
Available Options
Option |
Data Type |
Default value |
Description |
"cryptType"
|
string
|
"none"
|
The encryption type the password is stored in.
|
"users"
|
array
|
array()
|
Named array of usernames and password hashes.
<?php array( 'guest' => '084e0343a0486ff05530df6c705c8bb4', // password guest 'georg' => 'fc77dba827fcc88e0243404572c51325' // password georg ) ?>
|
|