1. 26 Apr, 2012 1 commit
    • Łukasz Nowak's avatar
      Improve token management. · fad3d37b
      Łukasz Nowak authored
      BearerTokenModule_addNewToken allows to add token for Person passed as
      destination_reference. In case if Person has no key assigned new one is
      generated.
      
      BearerToken_isValid allows to validate token against (possibly) related person
      object.
      
      Base_getHMAC is low level interface to hmac module.
      
      In order to made tokens unique use User-Agent and REMOTE_ADDR in token
      generation body. Thanks to this token will be narrowed to one broswer. In order
      to avoid reuse token on different servers add Host.
      
      Key to generate HMAC are stored on Person object using bearer_token_key property.
      fad3d37b
  2. 25 Apr, 2012 5 commits
  3. 19 Apr, 2012 3 commits
  4. 18 Apr, 2012 2 commits
  5. 17 Apr, 2012 1 commit
  6. 12 Apr, 2012 3 commits
  7. 10 Apr, 2012 1 commit
  8. 06 Apr, 2012 4 commits
  9. 05 Apr, 2012 4 commits
  10. 04 Apr, 2012 2 commits
  11. 03 Apr, 2012 1 commit
  12. 02 Apr, 2012 2 commits
  13. 30 Mar, 2012 1 commit
  14. 29 Mar, 2012 6 commits
  15. 28 Mar, 2012 4 commits