PHP Class ZF\Apigility\MvcAuth\UnauthorizedListener

显示文件 Open project: zfcampus/zf-apigility Class Usage Examples

Public Methods

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

Method Details

__invoke() public method

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