yii\filters\auth\AuthMethod::handleFailure PHP Méthode

handleFailure() public méthode

public handleFailure ( $response )
    public function handleFailure($response)
    {
        throw new UnauthorizedHttpException('Your request was made with invalid credentials.');
    }