| Outdated Please upgrade to the latest version. |
smugmug.login.withHash
Establishes a session and logs a user in based on the specified user id and password hash.
| Note: For security reasons, this method should only be sent over SSL. |
Arguments
- integer UserID
- string PasswordHash
- string APIKey
Result
- struct Login
- struct Session
- string id
- struct User
- string NickName
- string DisplayName
- string AccountType
- integer FileSizeLimit
- struct Session
Fault Codes
- 1 - "invalid login"
- 5 - "system error"
- 11 - "ancient version"
- 18 - "invalid API key"
Sample Requests
XML-RPC
Sample Responses
REST
JSON
PHP
XML-RPC
Labels:
None
4 Comments
comments.show.hideMay 12, 2008
Anonymous
The password hasing algorithm that is used to generate the hash really should be documented.
Nov 12, 2008
Anonymous
I cannot find any documentation on how to create the password hash, could you please add some documentation.
Mar 15, 2009
Anonymous
What the heck is the password hashing algorithm? How is someone supposed to generate the PasswordHash?
Mar 15, 2009
Anonymous
Okay, I'm guessing that you get the hash from a prior call to smugmug.login.withPassword.