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

Send requests asynchronously #2

Merged
merged 12 commits into from
Jan 2, 2023
Merged

Send requests asynchronously #2

merged 12 commits into from
Jan 2, 2023

Conversation

lukasmatusiewicz
Copy link
Contributor

@lukasmatusiewicz lukasmatusiewicz commented Nov 1, 2022

  • Suit some main functions to Task-based Async Pattern. This will allow requests to be sent asynchronously or even canceled while the operation is still in progress (optional use).
  • Name private fields up to the convention.
  • Include nullability.
  • Remove redundant files from the repo and add them to .gitignore.
  • Code formatting.

- update private parameters names
- change sendRequest() to async
- change triggerChallenges() to async
- make PollTransaction async
- add cancellation token to TriggerChallenge
- sort parameters of SendRequest
- add await to all GetAuthToken calls
- add cancellation token to all async requests
@lukasmatusiewicz lukasmatusiewicz changed the title Add possibility to send requests asyncronously Send requests asyncronously Nov 1, 2022
some unwanted files was commited in the past and git are following their changes despite adding them to .gitignore. rm from git cache is necessary to repair it.
@lukasmatusiewicz lukasmatusiewicz changed the title Send requests asyncronously Send requests asynchronously Nov 2, 2022
Copy link
Member

@nilsbehlen nilsbehlen left a comment

Choose a reason for hiding this comment

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

we should probably merge #4 then look at this again since there is some overlap -> merge conflicts

PrivacyIDEA_Client/PrivacyIDEA.cs Outdated Show resolved Hide resolved
@lukasmatusiewicz
Copy link
Contributor Author

Ready to review:)

@nilsbehlen nilsbehlen merged commit 5c77b92 into main Jan 2, 2023
@lukasmatusiewicz lukasmatusiewicz deleted the Client-update branch January 5, 2023 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants