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

Use Handler for Auth #103

Closed
wants to merge 1 commit into from
Closed

Use Handler for Auth #103

wants to merge 1 commit into from

Conversation

stoyicker
Copy link
Member

This showcases how to use Handler to solve the problem of interrupting ongoing getCredentials calls when a setCredentials happens. The gaps to fill are Auth stuff - no knowledge about Handler is required really, that is what I have taken care of.

Note also that you can probably use the mutex instead of the synchronized blocks I have written, I'm just more familiar with synchronized.

@michpohl michpohl closed this Sep 17, 2024
@stoyicker stoyicker deleted the jantonio/use_handler_in_auth branch September 17, 2024 09:02
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