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