PHP Class ZF\Apigility\MvcAuth\UnauthenticatedListener

Exibir arquivo Open project: zfcampus/zf-apigility

Public Methods

Method Description
__invoke ( ZF\MvcAuth\MvcAuthEvent $mvcAuthEvent ) : null | ZF\ApiProblem\ApiProblemResponse Determine if we have an authentication failure, and, if so, return a 401 response

Method Details

__invoke() public method

Determine if we have an authentication failure, and, if so, return a 401 response
public __invoke ( ZF\MvcAuth\MvcAuthEvent $mvcAuthEvent ) : null | ZF\ApiProblem\ApiProblemResponse
$mvcAuthEvent ZF\MvcAuth\MvcAuthEvent
return null | ZF\ApiProblem\ApiProblemResponse