XenAPI icon indicating copy to clipboard operation
XenAPI copied to clipboard

Custom Hooks

Open F9Alejandro opened this issue 11 years ago • 1 comments

I am trying to use the api to check if a user is authenticated, but when ever i try to do so using RestAPI isAuthenticated() function i end up getting an error saying that i need to specify an action even though i have my own php code doing the action... could there be a way for the specification of if you want an action or not?

PS: if there already is a way to do so it would be nice to have some documentation as trying to check if the person actually owns the account using the hash is rather a difficult task with out the use of the api... hence how it is right now...

Thanks in Advanced, F9Alejandro

F9Alejandro avatar Jul 30 '14 18:07 F9Alejandro

I've been planning to make the methods/actions modular (i.e. 1 PHP class that extends a base class), that should help you modify the code.

I'll see if I can get started on this sometime this/next week.

Contex avatar Aug 03 '14 23:08 Contex