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

Remove the need for kotlin stdlib dependency #258

Merged
merged 3 commits into from
May 3, 2024

Conversation

LossyDragon
Copy link
Collaborator

@LossyDragon LossyDragon commented May 3, 2024

Description

Please explain the changes you made here.

  • (Hopefully) Removed the need to use Kotlin Standard Library when using this in a Java project
  • thowables handled by AuthenticationException class.
  • Removed Kotlin Samples. They are useless and the Java samples hint at using Coroutines.
  • JavaDoc / kDoc fixes
  • Code cleanup; removed setters that are not used.
  • (Hopefully) Cleaned up AuthSession source to be more readable

For Java projects, use pollingWaitForResultCompat() which is a CompletableFuture<AuthPollResult>.

Thanks @SeeMemes and @Eiim for pointing out this goof! See: #257

Checklist

  • Code compiles correctly
  • All tests passing
  • Samples run successfully
  • Extended the README / documentation, if necessary

…using a java-only project.

Removed Kotlin samples as they are not needed.
Java/KDoc fixes.
Code cleanup and hopefully make AuthSession more readable.
Make pollAuthSessionStatus public
@LossyDragon
Copy link
Collaborator Author

Used a recent snapshot with this fix in a blank Maven project, and ran through the samples using the bare minimum dependencies for all the samples.

I think it's time for 1.4.0

@LossyDragon LossyDragon merged commit abb28ca into Longi94:master May 3, 2024
1 check passed
@LossyDragon LossyDragon deleted the Authentication-fixes branch May 3, 2024 17:20
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.

1 participant