Download & Extend

Validate Security Settings.

Project:Services
Version:7.x-3.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

it might not exist yet, but I see the documentation i really poor :( Il fix this on my plane flight today.

#2

Category:bug report» task

#3

@kylebrowning Any progress? Not all flights are as productive as we'd like.