-
Notifications
You must be signed in to change notification settings - Fork 61
STITCH-2485 New StitchAuthListener interface #220
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
Conversation
tkaye407
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Curious what your thoughts are on not actually having onAuthEventI() in the auth methods like swtich() and login() but rather whenever a switch() or a login() event "kind" come in you issue a legacy auth event as well? Could be done in dispatchAuthEvent()
jsflax
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM bar a couple style nits
This basically adds new methods to the
StitchAuthListenerinterface, enriching its use cases.About 1,000 of the lines of code here are 300 lines of integration tests, copied across the three SDKs. The integration tests are pretty much the same across the platforms so it's probably worth it to only just look through one of the integration test files.