Add async interface for finalization to acme.client.ClientV2 (#9622)

* Add async interface for finalization to acme.client.ClientV2

Add `begin_order_finalization()`/`poll_finalization()` to
`acme.client.ClientV2`, which are directly analogous to
`answer_challenge()`/`poll_authorizations()`. This allows us to
finalize an order and then later poll for its completion as separate
steps.

* Address code review feedback

Rename `begin_order_finalization` -> `begin_finalization` and tweak
wording of changelog entry
This commit is contained in:
Anna Glasgall
2023-03-23 11:09:14 +11:00
committed by GitHub
parent 5d5dc429c4
commit 8e28e36178
2 changed files with 39 additions and 8 deletions
+3
View File
@@ -8,6 +8,9 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
* `acme.messages.OrderResource` now supports being round-tripped
through JSON
* acme.client.ClientV2 now provides separate `begin_finalization`
and `poll_finalization` methods, in addition to the existing
`finalize_order` method.
### Changed