-
Notifications
You must be signed in to change notification settings - Fork 0
Authentication
danmux edited this page Feb 6, 2012
·
8 revisions
Authentication is the act of proving who you are.
In Money Toolkit this is simply giving us the correct user name and password.
Remember this is a read only API, so we dont feel our authentication has to ba any more complex than that.
An Authentication via the public api is simply a POST request much like from a web page's form
passing a recogised username and password returns a message relating to the apropriate status code and a maximum of 30 minute token (or until memcache gets flushed)
https://www.moneytoolkit.com/pub/authenticate
POST
Content-Type: application/x-www-form-urlencoded
u=danm&p=pass
the body returns a token in json...
{"message": "authenticated", "token": "danmeWyPfuPj"}