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

Move login client into main commons codebase #5476

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

psh
Copy link
Collaborator

@psh psh commented Jan 25, 2024

This PR relates to the discussion in #5165

To keep the change-set as simple as possible, this only moves the LoginClient, its service API (plus request/responses), and a related unit test into the main commons code base with no modification to its behaviour. Conversion to Kotlin will follow in another PR.

Note: the "logout" client was unused in the app, so it was deleted for clarity.

Eventually, the "App Adapter" abstraction will go away, since we wont be using the data-client module. For now, since the LoginClient / LoginResponse is moving and all the callers are inside our own code, just a single method was removed.

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

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

Log out / Log in still work great.
Thanks! :-)

@nicolas-raoul nicolas-raoul merged commit 0541aac into commons-app:main Jan 26, 2024
1 check passed
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.

None yet

2 participants