Documentation Question: setup
jphilipstevens opened this issue · 3 comments
jphilipstevens commented
I'm looking at the documentation and I am not sure if the iap.setup call can/should be called before every validation or if its needed once and can be done with multiple validation calls?
RonaTross commented
+1
markmorris commented
- 1
CyrusNG commented
+1
As I read source:
config() function is for reading custom configuration.
setup() function is for reading environment variables.
so, if your code uses one iap instance, I think it should can call once to finish initialization, then can multiple validation calls.