anchor.diff:  
   
   [[example-jws]]
  -=== JWS Token Auth Example
  +=== Signed JWT Auth Example
   
   This example tries to show the way to setup jws stateless token based auth in a
   simple ring based application.
  
positive.code: 
  [source, clojure]
  ----
  (require '[buddy.sign.jws :as jws])
  (require '[cheshire.core :as json])
  
  (defn login-handler
  
negative.code:         password (:password authdata)]
      username))
  
  (def backend (backends/basic {:realm "MyApi"
                                :authfn my-authfn}))
  ----
  
  The `authfn` is the responsible of the second step of authentication. It receives
  