?

Log in

No account? Create an account
noob question...md5 response - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

noob question...md5 response [Jan. 20th, 2005|09:50 am]
LiveJournal Client Discussions

lj_clients

[sohmc]
[mood |creativecreative]

thanks guys for my question earlier. I got it to work successfully. I have another question.

After I have successfully logged in via MD5 hash, do I need to keep authenticating with mode=getchallenge to do other modes like mode=getevents?

Or can I continue to use the md5 challenge and response I originally generated?

My assumption would be that the md5 challenge is only good for 60 seconds and I would need to continue using mode=getchallenge to log in.

Is this correct?
linkReply

Comments:
[User Picture]From: hyuri
2005-01-20 05:26 pm (UTC)
Challenges are single‑use only, and expire after, I think, around 15 minutes.
(Reply) (Thread)
From: cellophane01
2005-05-24 10:19 am (UTC)
You'd think "single use" would be written anywhere in the documentation, except that it isn't.
(Reply) (Parent) (Thread)
[User Picture]From: hyuri
2005-05-24 03:49 pm (UTC)
Check out the description of the getchallenge method, though they wrote “one-time” rather than “single‑use.”
(Reply) (Parent) (Thread)
From: cellophane01
2005-05-24 08:54 pm (UTC)
Looks like I missed it. Probably because it's otherwise pretty well described in he Challenge/Response section.
(Reply) (Parent) (Thread)
[User Picture]From: kemayo
2005-01-20 06:21 pm (UTC)
It's been a while since I did this, but as I recall you need to get a challenge for every request you make (it's single-use, so even if you're making another request within 60 seconds it won't work).

All the details are here in the protocol docs.
(Reply) (Thread)