public function isRequiredInArea(AreaContract $area)
    {
        $enabledProvider = $this->getEnabledInArea($area);

        if ($enabledProvider === null) {
            return false;
        }

        return $enabledProvider->isForced();
    }
public function isRequiredInArea(AreaContract $area)
    {
        $enabledProvider = $this->getEnabledInArea($area);

        if ($enabledProvider === null) {
            return false;
        }

        return $enabledProvider->isForced();
    }
public function isRequiredInArea ( AreaContract $ area ) { $ enabledProvider = $ this -> getEnabledInArea ( $ area ) ; if ( $ enabledProvider === null ) { return false ; } return $ enabledProvider -> isForced ( ) ; }
Check if authentication is required for the given area.

@param String $area
@return boolean
Check if authentication is required for the given area .