diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-02 14:29:41 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-02 14:29:41 -0600 |
| commit | c583bcd1473205104a1e1af812ed4976d30c7baa (patch) | |
| tree | 933edf78a4ac8aea55256e42641e56bbb4c58834 /lib | |
| parent | 91defaefca47e9cebbe92c6abf33c4423df9bc7d (diff) | |
refactor: remove anything unrelated to the authz daemon
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/.keep | 0 | ||||
| -rw-r--r-- | lib/authx.rb | 6 | ||||
| -rw-r--r-- | lib/authx/rpc.rb | 4 | ||||
| -rw-r--r-- | lib/authx/rpc/ability_pb.rb | 24 | ||||
| -rw-r--r-- | lib/authx/rpc/ability_twirp.rb | 17 |
5 files changed, 0 insertions, 51 deletions
diff --git a/lib/.keep b/lib/.keep deleted file mode 100644 index e69de29b..00000000 --- a/lib/.keep +++ /dev/null diff --git a/lib/authx.rb b/lib/authx.rb deleted file mode 100644 index 5ee3f543..00000000 --- a/lib/authx.rb +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -require "authx/rpc" - -module Authx -end diff --git a/lib/authx/rpc.rb b/lib/authx/rpc.rb deleted file mode 100644 index 78edbc46..00000000 --- a/lib/authx/rpc.rb +++ /dev/null @@ -1,4 +0,0 @@ -# frozen_string_literal: true - -require "authx/rpc/ability_pb" -require "authx/rpc/ability_twirp" 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 |
