BrokerCredentialResolver.Default Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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