summaryrefslogtreecommitdiff
path: root/lib/authx/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/authx/rpc')
-rw-r--r--lib/authx/rpc/ability_pb.rb24
-rw-r--r--lib/authx/rpc/ability_twirp.rb17
2 files changed, 0 insertions, 41 deletions
diff --git a/lib/authx/rpc/ability_pb.rb b/lib/authx/rpc/ability_pb.rb
deleted file mode 100644
index ee71dc57..00000000
--- a/lib/authx/rpc/ability_pb.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: ability.proto
-
-require 'google/protobuf'
-
-Google::Protobuf::DescriptorPool.generated_pool.build do
- add_file("ability.proto", :syntax => :proto3) do
- add_message "authx.rpc.AllowRequest" do
- optional :subject, :string, 1
- optional :permission, :string, 2
- optional :resource, :string, 3
- end
- add_message "authx.rpc.AllowReply" do
- optional :result, :bool, 1
- end
- end
-end
-
-module Authx
- module Rpc
- AllowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authx.rpc.AllowRequest").msgclass
- AllowReply = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authx.rpc.AllowReply").msgclass
- end
-end
diff --git a/lib/authx/rpc/ability_twirp.rb b/lib/authx/rpc/ability_twirp.rb
deleted file mode 100644
index 120e9a99..00000000
--- a/lib/authx/rpc/ability_twirp.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# Code generated by protoc-gen-twirp_ruby 1.11.0, DO NOT EDIT.
-require 'twirp'
-require_relative 'ability_pb.rb'
-
-module Authx
- module Rpc
- class AbilityService < ::Twirp::Service
- package 'authx.rpc'
- service 'Ability'
- rpc :Allowed, AllowRequest, AllowReply, :ruby_method => :allowed
- end
-
- class AbilityClient < ::Twirp::Client
- client_for AbilityService
- end
- end
-end