# File lib/doorkeeper/models/access_grant_mixin.rb, line 30 def by_token(token) find_by(token: token.to_s) end