for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Guest authentication strategy
*
* @file GuestStrategy,php
* PHP version 7.0+
* @author Alexander Yancharuk <alex at itvault dot info>
* @copyright © 2012-2018 Alexander Yancharuk
* @date Вск Янв 27 21:43:51 2013
* @license The BSD 3-Clause License
* <https://tldrlegal.com/license/bsd-3-clause-license-(revised)>.
*/
namespace Veles\Auth\Strategies;
use Veles\Auth\UsrGroup;
* Class GuestStrategy
class GuestStrategy extends AbstractAuthStrategy
{
* Guest authentication
* @return bool
public function identify()
$props = ['group' => UsrGroup::GUEST];
$this->user->setProperties($props);
return false;
}
* Stub
* @param array $input
* @return void
public function errorHandle(array $input)
unset($input);