# File lib/doorkeeper/oauth/client/methods.rb, line 9 def from_basic(request) authorization = request.authorization if authorization.present? && authorization =~ /^Basic (.*)/m Base64.decode64($1).split(/:/, 2) end end