internal AzurePowerShellCredential(AzurePowerShellCredentialOptions options, CredentialPipeline pipeline, IProcessService processService) { UseLegacyPowerShell = false; _logPII = options?.IsLoggingPIIEnabled ?? false; _tenantId = options?.TenantId; _pipeline = pipeline ?? CredentialPipeline.GetInstance(options); _processService = processService ?? ProcessService.Default; }
internal AzurePowerShellCredential(AzurePowerShellCredentialOptions options, CredentialPipeline pipeline, IProcessService processService) { UseLegacyPowerShell = false; _allowMultiTenantAuthentication = options?.AllowMultiTenantAuthentication ?? false; _tenantId = options?.TenantId; _pipeline = pipeline ?? CredentialPipeline.GetInstance(options); _processService = processService ?? ProcessService.Default; }
/// <summary> /// Creates a new instance of the <see cref="AzurePowerShellCredential"/> with the specified options. /// </summary> /// <param name="options">Options for configuring the credential.</param> public AzurePowerShellCredential(AzurePowerShellCredentialOptions options) : this(options, default, default) { }
internal AzurePowerShellCredential(AzurePowerShellCredentialOptions options, CredentialPipeline pipeline, IProcessService processService) { UseLegacyPowerShell = options?.UseLegacyPowerShell ?? new AzurePowerShellCredentialOptions().UseLegacyPowerShell; _pipeline = pipeline ?? CredentialPipeline.GetInstance(options); _processService = processService ?? ProcessService.Default; }