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.
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
|