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