dimanche 24 septembre 2017

How to generate HTTP header digest authentication value from input params?

I have html form with such variables:

  • username
  • realm
  • password
  • nonce
  • algorithm
  • qop
  • nonceCount
  • clientNonce
  • opaque

I want to generate appropriate HTTP header from that values using javascript on the frontend. Actually, I need some javascript library with function, which accepts that params and returns header value. But if there are no such libraries, you can advise some simple way how can I generate it.




Aucun commentaire:

Enregistrer un commentaire