Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Question: setup #326

Open
jphilipstevens opened this issue Aug 18, 2020 · 3 comments
Open

Documentation Question: setup #326

jphilipstevens opened this issue Aug 18, 2020 · 3 comments

Comments

@jphilipstevens
Copy link

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
Copy link

+1

@markmorris
Copy link

  • 1

@CyrusNG
Copy link

CyrusNG commented Dec 20, 2023

+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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants