nonces.challengeUser

nonces.challengeUser(string) => dict
Generate a nonce for authentication.

Arguments
~~~~~~~~~
* username string (your user account on the server)

Return value
~~~~~~~~~~~~
* challenge dict

The return value is a dict with the following keys:

* algorithm string (sha1 or md5)
* salt string (few random characters)
* nonce string (random lowercase hexadecimal, length 32)

See nonces.verifyUser for how to encrypt your password with the
nonce.

Back to the list of supported methods