class Doorkeeper::OAuth::PasswordAccessTokenRequest

def initialize(server, client, credentials, resource_owner, parameters = {})

def initialize(server, client, credentials, resource_owner, parameters = {})
  @server          = server
  @resource_owner  = resource_owner
  @client          = client
  @credentials     = credentials
  @parameters      = parameters
  @original_scopes = parameters[:scope]
  @grant_type      = Doorkeeper::OAuth::PASSWORD
end