Forum Discussion
Anonymous
4 years agoNot applicable
Custom Connector with Token Refresh
Hi all, I need to create a Custom Connector to query Prisma Cloud REST API (sadly there isn't already a connector), the platform takes a username and password JSON POST to /login and returns a JWT t...
Anonymous
4 years agoNot applicable
Not writing a connector before the areas I would need help with is.
1. Authentication function getting the username and password from the user to get a token, then updating the token after a time (or number of data calls if easier)
2. How to create a while loop or similar to keep getting data until the next page is blank.
the trippin example uses the magic functions so I wasn't sure how to do this manually. I'm a PHP/JavaScript guy so it's getting my head around the new layout (sorry), I have been looking at the tutorials.
lbendlin
4 years agoSuper User
I wouldn't worry about #1 just yet, you can sprinkle that in later. For #2 you can choose between List.Generate, List.Accumulate, and recursive function calls.