<PackageReference Include="System.ClientModel" Version="1.14.0" />

System.ClientModel.Primitives.CredentialSettings

public sealed class CredentialSettings
Holds the credential settings used to configure authentication for a client that can be loaded from an IConfigurationSection.
namespace System.ClientModel.Primitives { public sealed class CredentialSettings { public string this[string key] { [System.Runtime.CompilerServices.NullableContext(1)] [return: System.Runtime.CompilerServices.Nullable(2)] get; } public string CredentialSource { get; set; } public string Key { get; set; } public IConfigurationSection AdditionalProperties { get; set; } public AuthenticationTokenProvider TokenProvider { get; set; } public CredentialSettings(IConfigurationSection section); } }