lithium\security\Auth::_initConfig PHP Method

_initConfig() protected static method

For the session key name, the default value is set to the name of the configuration.
protected static _initConfig ( string $name, array $config ) : array
$name string The name of the adapter configuration being accessed.
$config array The user-specified configuration.
return array Returns an array that merges the user-specified configuration with the generated default values.
    protected static function _initConfig($name, $config)
    {
        $defaults = array('session' => array('key' => $name, 'class' => static::$_classes['session'], 'options' => array(), 'persist' => array()));
        $config = parent::_initConfig($name, $config) + $defaults;
        $config['session'] += $defaults['session'];
        return $config;
    }