Sha256: 3e4dbc41e98ebd305da2fbea79df44ac752a502afc9a004a20dbc9add18148b2
Contents?: true
Size: 577 Bytes
Versions: 14
Compression:
Stored size: 577 Bytes
Contents
module Doorkeeper module Request class Password def self.build(server) new(server.client, server.resource_owner, server) end attr_accessor :client, :resource_owner, :server def initialize(client, resource_owner, server) @client, @resource_owner, @server = client, resource_owner, server end def request @request ||= OAuth::PasswordAccessTokenRequest.new(Doorkeeper.configuration, client, resource_owner, server.parameters) end def authorize request.authorize end end end end
Version data entries
14 entries across 14 versions & 1 rubygems