Sha256: ddc64c30a35fab774f5f64a1bf37b40e6897903013772528dc48028824421f36

Contents?: true

Size: 393 Bytes

Versions: 15

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

require 'doorkeeper/request/strategy'

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

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

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
doorkeeper-openid_connect-1.8.10 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.8.8 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.8.7 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.8.6 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.8.5 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.8.4 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.8.3 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.8.2 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.8.1 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.8.0 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.8.0.pre.rc1 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.7.5 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.7.4 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.7.3 lib/doorkeeper/request/id_token_token.rb
doorkeeper-openid_connect-1.7.2 lib/doorkeeper/request/id_token_token.rb