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

Refactor classes visibility and packages #427

Merged
merged 5 commits into from
Jan 14, 2021
Merged

Conversation

lbalmaceda
Copy link
Contributor

@lbalmaceda lbalmaceda commented Jan 12, 2021

Visibility changes

Public & non-used classes

  • VoidCallback was previously used for web auth, no longer used in public APIs. It's now internal.

The internal package

The internal package contains classes not meant to be used directly. With Kotlin, these now make use of the internal visibility modifier.

  • BaseAuthenticationRequest
  • BaseRequest
  • RequestFactory

Package changes:

These are still used in the AuthenticationAPIClient.

  • com.auth0.android.authentication.request.ProfileRequest to com.auth0.android.request.ProfileRequest
  • com.auth0.android.authentication.request.SignUpRequest to com.auth0.android.request.SignUpRequest

@lbalmaceda lbalmaceda marked this pull request as ready for review January 13, 2021 19:49
@lbalmaceda lbalmaceda requested a review from a team as a code owner January 13, 2021 19:49
Copy link
Contributor

@jimmyjames jimmyjames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also update the migration guide to include any changes to current public classes? Any repackaging, visibility modifications, etc.

@lbalmaceda lbalmaceda merged commit 50db306 into v2-dev Jan 14, 2021
@lbalmaceda lbalmaceda deleted the rf-move-packages branch January 14, 2021 18:25
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