class Doorkeeper::Request::RefreshToken

def refresh_token

def refresh_token
  Doorkeeper.config.access_token_model.by_refresh_token(parameters[:refresh_token])
end

def request

def request
  @request ||= OAuth::RefreshTokenRequest.new(
    Doorkeeper.config,
    refresh_token,
    credentials,
    parameters,
  )
end