PDA

View Full Version : Drupal Authentication For Sencha Touch



victor_ray
6 Feb 2012, 7:47 AM
I want to authenticate to a Drupal webservers from sencha touch. Does Sencha Touch allow for that and if so does anyone have an example to share?

mitchellsimoens
6 Feb 2012, 8:37 AM
You should send an Ajax call to Drupal to authenticate

victor_ray
6 Feb 2012, 8:42 AM
Thanks for you reply. Can you tell me the procedure or share some code.

mitchellsimoens
6 Feb 2012, 8:45 AM
Ext.Ajax.request({.....});

victor_ray
6 Feb 2012, 8:50 AM
I want to authenticate using HMAC. Is sencha supports HMAC authentication. Please let me know.

mitchellsimoens
6 Feb 2012, 8:55 AM
What you need is a URL to call and what params to send.

victor_ray
6 Feb 2012, 9:03 AM
I've to send the following parameters:
1. domain name,
2. time stamp,
3. nonce
4. hmac hash value.

I also give you some reference , that I want exactly
"http://groups.drupal.org/node/89679#comment-319534".

Please let me know.