I would like to write a nice applicaiton to monitor file activities and spread this information with various NC API calls ? API works easily with username and passwords, but if put https GET request from php code with logged in user, how can I get http basic auth credentials for https request.
just an example:
I have search applicaiton and the code does indexing, with special situations I want to use NC API-s but no willing to ask username password again, because the user is logged in ? Can I use current session in NC API or do I have shortcuts I can use direct calls to API functions ?
The goal is to write new app and use NC API to integrate other apps for better compatibility ? All requests land on localhost then.