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

Change WebAuthProvider (Login) callback type #415

Merged
merged 3 commits into from
Jan 7, 2021
Merged

Conversation

lbalmaceda
Copy link
Contributor

Changes

This was the only method in the public API using AuthCallback. This interface has 3 methods, one of which receives a Dialog instance that is never invoked from the WebAuthProvider ever.

This PR replaces its usage with a generic BaseCallback<Credentials, AuthenticationException> type. Devs previously implementing this would need to stop implementing the void onSuccess(Dialog) method.

The README has also been updated, and a migration guide line was added as well.

@lbalmaceda lbalmaceda requested a review from a team as a code owner January 7, 2021 18:36
@lbalmaceda lbalmaceda merged commit ab69858 into v2-dev Jan 7, 2021
@lbalmaceda lbalmaceda deleted the mv-out-authcallback branch January 7, 2021 19:11
@lbalmaceda lbalmaceda added this to the v2-Next milestone Jan 7, 2021
@lbalmaceda lbalmaceda modified the milestones: v2-Next, 2.0.0-beta.0 Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants