booked/lib/Common/PluginManager.php
/**
	 * Loads the configured Authentication plugin, if one exists
	 * If no plugin exists, the default Authentication class is returned
	 *
	 * @return IAuthentication the authorization class to use
	 */
Loads the configured Authentication plugin, if one exists
If no plugin exists, the default Authentication class is returned

@return IAuthentication the authorization class to use
Loads the configured Authentication plugin if one exists If no plugin exists the default Authentication class is returned @return IAuthentication the authorization class to use
public function LoadAuthentication()
	{
		require_once(ROOT_DIR . 'lib/Application/Authentication/namespace.php');
		require_once(ROOT_DIR . 'Domain/Access/namespace.php');
		$authentication = new Authentication($this->LoadAuthorization(), new UserRepository(), new GroupRepository());
		$plugin = $this->LoadPlugin(ConfigKeys::PLUGIN_AUTHENTICATION, 'Authentication', $authentication);
		if (!is_null($plugin))
		{
			return $plugin;
		}
		return $authentication;
	}
public function LoadAuthentication ( ) { require_once ( ROOT_DIR . 'lib/Application/Authentication/namespace.php' ) ; require_once ( ROOT_DIR . 'Domain/Access/namespace.php' ) ; $ authentication = new Authentication ( $ this -> LoadAuthorization ( ) , new UserRepository ( ) , new GroupRepository ( ) ) ; $ plugin = $ this -> LoadPlugin ( ConfigKeys :: PLUGIN_AUTHENTICATION , 'Authentication' , $ authentication ) ; if ( ! is_null ( $ plugin ) ) { return $ plugin ; } return $ authentication ; }
Loads the configured Authentication plugin, if one exists
 If no plugin exists, the default Authentication class is returned
Loads the configured Authentication plugin if one exists If no plugin exists the default Authentication class is returned