很高興能從 @adrienpoly 那裡獲得對即將推出的 API 的代碼審查,讓我注意到 Rails 內建的 authenticate_or_request_with_http_token。甚至不知道我們有這個功能!