PHP Class ZF\Apigility\MvcAuth\UnauthorizedListener

Afficher le fichier Open project: zfcampus/zf-apigility Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat null | ZF\ApiProblem\ApiProblemResponse