lib/doorkeeper/request/id_token_token.rb
# 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