Azure / Azure/azure-sdk-for-java
mgmt, use `BearerTokenAuthenticationPolicy`
Open
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 2.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 178
Description
mgmt lite is switching to `BearerTokenAuthenticationPolicy`: https://github.com/microsoft/typespec/pull/4986
premium uses [`AuthenticationPolicy`](https://github.com/Azure/azure-sdk-for-java/blob/e80d82e5c136d6c251c2ce0db77b30d046a91954/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/fluentcore/policy/AuthenticationPolicy.java).
We need to either
- replace `ArmChallengeAuthenticationPolicy` with `BearerTokenAuthenticationPolicy`
- check implementation in `ArmChallengeAuthenticationPolicy` to conform to `BearerTokenAuthenticationPolicy`
Contributor guide
Assessment
This issue has not been assessed yet.