To assist in developing your login code, the following example data can be used to unit test your timestamp and signature generation methods.
Given the following values:
| Developer Key | 1f7d14a2db95e2f1d150207ddef31e329e02941a |
| User ID | testuser |
| Current Time | 2008-05-02T12:00:00.000-08:00
|
| Secret | f2326ecc6ae62ad118a23829b3a979eeef3d3dc5 |
Wetpaint expects the following parameters to be passed to the
UserService.login,
UserService.changeRole, and
UserService.getReputation method:
| cred.ts | 1209758400 |
| cred.sig | d2d6f6516bffe756557ca4cb77a0304d684f5fc8 |
For example login code, please see
Sample Applications.