I'm implementing my own services authentication module and have attached my form data to the 'security_settings' argument of the hook_services_authentication(). Now when i can see my form entry when i choose 'Edit Authentication' on the service i've created.
Now i want to know how to validate the form elements and save that form item. The api http://drupalcode.org/project/services.git/blob/f4e07a6d17bf6269bb2368c5... tells me that i should be returning parameters called _services_oauth_security_settings_validate and _services_oauth_security_settings_submit which is obviously not right (they're oauth specific).
The services_oauth module doesn't make use of any of these hooks, but it doesn't need to validate it's form.
So how do i validate this form?
And either way the API needs to get cleared up.
Thanks,
Jamie
Comments
Comment #1
kylebrowning commentedit might not exist yet, but I see the documentation i really poor :( Il fix this on my plane flight today.
Comment #2
marcingy commentedComment #3
mgifford@kylebrowning Any progress? Not all flights are as productive as we'd like.
Comment #4
kylebrowning commentedComment #5
kylebrowning commented