Sha256: 66df998631aa330c9d2fe2d3fcb6c53c7f44962584b00720fe438117a7f9a5b4

Contents?: true

Size: 352 Bytes

Versions: 14

Compression:

Stored size: 352 Bytes

Contents

require 'doorkeeper/request/strategy'

module Doorkeeper
  module Request
    class IdToken < Strategy
      delegate :current_resource_owner, to: :server

      def pre_auth
        server.context.send(:pre_auth)
      end

      def request
        @request ||= OAuth::IdTokenRequest.new(pre_auth, current_resource_owner)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
doorkeeper-openid_connect-1.7.1 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.7.0 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.6.3 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.6.2 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.6.1 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.6.0 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.5.5 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.5.4 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.5.3 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.5.2 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.5.1 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.5.0 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.4.0 lib/doorkeeper/request/id_token.rb
doorkeeper-openid_connect-1.3.0 lib/doorkeeper/request/id_token.rb