Sha256: b578a3f5fc0cb375d9133186b817c523d1d7abb7f3751df63918c30f35b85c0c

Contents?: true

Size: 347 Bytes

Versions: 22

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  module Request
    class Strategy
      attr_accessor :server

      delegate :authorize, to: :request

      def initialize(server)
        self.server = server
      end

      def request
        raise NotImplementedError, "request strategies must define #request"
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
doorkeeper-5.1.2 lib/doorkeeper/request/strategy.rb
doorkeeper-5.2.6 lib/doorkeeper/request/strategy.rb
doorkeeper-5.3.3 lib/doorkeeper/request/strategy.rb
doorkeeper-5.0.3 lib/doorkeeper/request/strategy.rb
doorkeeper-5.1.1 lib/doorkeeper/request/strategy.rb
doorkeeper-5.2.5 lib/doorkeeper/request/strategy.rb
doorkeeper-5.3.2 lib/doorkeeper/request/strategy.rb
doorkeeper-5.2.4 lib/doorkeeper/request/strategy.rb
doorkeeper-5.3.1 lib/doorkeeper/request/strategy.rb
doorkeeper-5.3.0 lib/doorkeeper/request/strategy.rb
doorkeeper-5.2.3 lib/doorkeeper/request/strategy.rb
doorkeeper-5.2.2 lib/doorkeeper/request/strategy.rb
doorkeeper-5.2.1 lib/doorkeeper/request/strategy.rb
doorkeeper-5.2.0 lib/doorkeeper/request/strategy.rb
doorkeeper-5.2.0.rc3 lib/doorkeeper/request/strategy.rb
doorkeeper-5.2.0.rc2 lib/doorkeeper/request/strategy.rb
doorkeeper-5.2.0.rc1 lib/doorkeeper/request/strategy.rb
doorkeeper-5.1.0 lib/doorkeeper/request/strategy.rb
doorkeeper-5.1.0.rc2 lib/doorkeeper/request/strategy.rb
doorkeeper-5.1.0.rc1 lib/doorkeeper/request/strategy.rb