# File lib/doorkeeper/models/application_mixin.rb, line 21 def by_uid_and_secret(uid, secret) find_by(uid: uid.to_s, secret: secret.to_s) end