class Doorkeeper::OAuth::PreAuthorization

def validate_client

def validate_client
  @client = OAuth::Client.find(client_id)
  @client.present?
end