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.

Таблица 29-1. Available Options

OptionData TypeDefault valueDescription
"cryptType" string "none" The encryption type the password is stored in.
"users" array array() Named array of usernames and password hashes.
array(
    'guest' => '084e0343a0486ff05530df6c705c8bb4', // password guest
    'georg' => 'fc77dba827fcc88e0243404572c51325' // password georg
)


HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà