Setup default configuration options.

Parameters

  • array $config - `method`: default: `digest` options: `basic|digest` - `realm`: default: `Protected by Lithium` - `users`: the users to permit. key => value pair of username => password

Source

						public function __construct(array $config = array()) {
		$defaults = array(
			'method' => 'digest', 'realm' => basename(LITHIUM_APP_PATH), 'users' => array()
		);
		parent::__construct($config + $defaults);
	}