PartKeepr\SetupBundle\Controller\SetupBaseController::verifyAuthKey PHP Method

verifyAuthKey() protected method

protected verifyAuthKey ( $givenKey )
    protected function verifyAuthKey($givenKey)
    {
        $key = $this->get('partkeepr.setup.config_service')->getAuthKey();
        if ($key === $givenKey) {
            return true;
        }
        return false;
    }