Sha256: bf53bf475a8abe15006e09967bef142161384ec84c45114483587170aa93650b
Contents?: true
Size: 600 Bytes
Versions: 1
Compression:
Stored size: 600 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
couchkeeper-0.6.7 | lib/doorkeeper/request/password.rb |