BrokerCredentialResolver.Default Property

Definition

A shared singleton instance suitable for both standalone and DI usage. SCM's credential cache keys cached providers by resolver reference, so passing this instance into a standalone GetCredential call (or any resolver chain you build by hand) lets that path share cached credentials with code paths that resolved through DI via AddBrokerCredentialResolver(IServiceCollection). Stateless; safe to share across threads.

public static Azure.Identity.Broker.BrokerCredentialResolver Default { get; }
static member Default : Azure.Identity.Broker.BrokerCredentialResolver
Public Shared ReadOnly Property Default As BrokerCredentialResolver

Property Value

Applies to