<PackageReference Include="Azure.Core" Version="1.53.0" />

Azure.Identity.DeviceCodeCredentialOptions

Options to configure the DeviceCodeCredential.
namespace Azure.Identity { public class DeviceCodeCredentialOptions : TokenCredentialOptions, ISupportsTokenCachePersistenceOptions, ISupportsDisableInstanceDiscovery, ISupportsAdditionallyAllowedTenants, ISupportsTenantId { public bool DisableAutomaticAuthentication { get; set; } public string TenantId { get; set; } public IList<string> AdditionallyAllowedTenants { get; } public string ClientId { get; set; } public TokenCachePersistenceOptions TokenCachePersistenceOptions { get; set; } public AuthenticationRecord AuthenticationRecord { get; set; } public Func<DeviceCodeInfo, CancellationToken, Task> DeviceCodeCallback { get; set; } public bool DisableInstanceDiscovery { get; set; } public DeviceCodeCredentialOptions(); } }