How could I implement token authentication in Sinatra?
Currently I use Rails 3.1 token authentication.