很高兴从 @adrienpoly 那里获得了关于即将推出的 API 的代码审查,提醒我 Rails 内置的 authenticate_or_request_with_http_token。甚至不知道我们有这个!