Sha256: 63fa4c3608dd5af2ef15145f58a91d4e0f71fba3eb0def99d0e27f60ec351fae

Contents?: true

Size: 362 Bytes

Versions: 14

Compression:

Stored size: 362 Bytes

Contents

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

14 entries across 14 versions & 1 rubygems

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