Azure / Azure/azure-sdk-for-java

mgmt, use `BearerTokenAuthenticationPolicy`

Open
#42,828 2 comments 0 reactions 1 assignee Claimed by @XiaofeiCao View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.