Skip to content

Make all of the login functions return Promise<boolean> #339

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

Merged
merged 4 commits into from
Sep 19, 2018

Conversation

ajpierson
Copy link
Contributor

LoadDiscoveryDocumentAndLogin returned Promise, which we liked, so I made the other login functions do the same. This Improves the flow of the login code for us because you don't need to rely on a callback to determine if the login was successful

@manfredsteyer
Copy link
Owner

Thx for this. I will review it when preparing the next version.

@manfredsteyer manfredsteyer merged commit 7c752e5 into manfredsteyer:master Sep 19, 2018
@manfredsteyer
Copy link
Owner

thx

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

Successfully merging this pull request may close these issues.

2 participants