Azure.Identity.DeviceCodeCredentialOptions
public class DeviceCodeCredentialOptions : TokenCredentialOptions, ISupportsTokenCachePersistenceOptions, ISupportsDisableInstanceDiscovery, ISupportsAdditionallyAllowedTenants, ISupportsTenantId, ISupportsTokenRequestCallback
Options to configure the DeviceCodeCredential.
namespace Azure.Identity
{
public class DeviceCodeCredentialOptions : TokenCredentialOptions, ISupportsTokenCachePersistenceOptions, ISupportsDisableInstanceDiscovery, ISupportsAdditionallyAllowedTenants, ISupportsTenantId, ISupportsTokenRequestCallback
{
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 Action<TokenRequestCallbackContext> TokenRequestCallback { get; set; }
public DeviceCodeCredentialOptions();
}
}