protected function authorize(
        InboundRequestInterface $request,
        StoreInterface $store,
        AuthorizerInterface $authorizer
    ) {
        $result = $this->checkAuthorization($request, $store, $authorizer);

        if (true !== $result) {
            throw new AuthorizationException($result);
        }
    }