Skip to content

Remove azure_identity::TokenCredential trait in favor of azure_core::TokenCredential #489

@thovoll

Description

@thovoll

azure_core::TokenCredential
azure_identity::TokenCredential

We should probably get rid of the TokenCredential in azure_identity. This seems to match the .Net SDK as well.

This implies that the token credential implementations need to switch to the TokenCredential trait from azure_core.

Further, if we decide to implement #426, it would be nice to avoid having to downcast errors produced by a TokenCredential when creating a client, in order to enable exhaustive matching.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions