4:
Re: Re: Re: Integration - Single sign on questions
By: Scott Bradley
|
In response to 3 | 11/16/05 04:32 AM | ||
This looks great Enrie thanks,
Apurva and I are still a bit unsure of the hash value and how to create it. How do we construct the hash? We've tried generating our own and also looking at the Moodle integration code but its not very clear. $hash = sha1(strtolower($plaintext)); It appears to be the concatenation of: the datetime, username, author method??(what is this?), the server id and the server key. Then the result is converted to lowercase and the sha hash function performed on it. Most of the values appear to be ok, the one that doesn't make sense is the author_method. Thanks for you quick response, Posted by Scott Bradley |
|
||||||||||
|
||||||||||
|
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum