Skip to content

Commit d5a1c3b

Browse files
committed
Added info about the breaking change concerning the retry policy
1 parent 327b6d9 commit d5a1c3b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/content/docs/accesstokenmanagement/upgrading/atm-v3-to-v4.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ Instead of relying on implicit behaviors or inheritance, V4 introduces clearly d
4646

4747
The `AccessTokenHandler` has been restructured to use composition rather than inheritance, simplifying the customization of token handling and increasing testability.
4848

49+
As part of these changes, the retry logic that was part of the `AccessTokenHandler`'s functionality in V3 has moved to
50+
a resiliency policy. If you're not using `AddClientCredentialsHttpClient` to configure an HTTP client, and you depend on the
51+
retry policy to be there, you should use `AddDefaultAccessTokenResiliency` to add our implementation or provide your own retry policy.
52+
See [Service Workers](/accesstokenmanagement/workers.mdx) for more details.
53+
4954
If you wish to implement a custom access token handling process, for example to implement token exchange, you can now [implement your own `AccessTokenRequestHandler.ITokenRetriever`](/accesstokenmanagement/advanced/extensibility.md#token-retrieval).
5055

5156
### Strongly Typed Configuration

0 commit comments

Comments
 (0)