Azure.Identity.DeviceCodeCredentialOptions
public class DeviceCodeCredentialOptions : TokenCredentialOptions, ISupportsTokenCachePersistenceOptions, ISupportsDisableInstanceDiscovery, ISupportsAdditionallyAllowedTenants, ISupportsTenantId
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();
}
}