24 references to SecretText
Aspire.Hosting (8)
ApplicationModel\ParameterResource.cs (1)
169
InputType = Secret ? InputType.
SecretText
: InputType.Text,
ApplicationModel\ResourceCommandService.cs (2)
588
var value = argument.Value = argument.InputType == InputType.
SecretText
620
case InputType.
SecretText
:
Ats\InteractionExports.cs (1)
187
return InteractionInputBuilder.Create(name, InputType.
SecretText
, options);
Dashboard\DashboardService.cs (2)
266
Aspire.Hosting.InputType.
SecretText
=> Aspire.DashboardService.Proto.V1.InputType.SecretText,
280
Aspire.DashboardService.Proto.V1.InputType.SecretText => InputType.
SecretText
,
InteractionService.cs (1)
593
case InputType.
SecretText
:
ParameterResourceBuilderExtensions.cs (1)
267
InputType = options.InputType ?? (parameter.Secret ? InputType.
SecretText
: InputType.Text),
Aspire.Hosting.Azure (2)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (2)
187
InputType = InputType.
SecretText
,
286
InputType = InputType.
SecretText
,
Aspire.Hosting.Tests (10)
AddParameterTests.cs (2)
482
Assert.Equal(InputType.
SecretText
, input.InputType);
666
Assert.Equal(InputType.
SecretText
, input.InputType);
InteractionServiceTests.cs (4)
512
[InlineData(InputType.
SecretText
, 10)]
644
new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.
SecretText
},
857
new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.
SecretText
}
871
new InputDto("Password", "testpass", InputType.
SecretText
)
Orchestrator\ParameterProcessorTests.cs (2)
233
Assert.Equal(InputType.
SecretText
, input.InputType);
503
Assert.Equal(InputType.
SecretText
, secretInput.InputType);
ResourceCommandServiceTests.cs (2)
669
InputType = InputType.
SecretText
,
680
InputType = InputType.
SecretText
,
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
175
InputType = InputType.
SecretText
,
Stress.AppHost (3)
CommandResources.cs (2)
247
InputType = InputType.
SecretText
,
350
.Where(i => i.InputType is InputType.Text or InputType.
SecretText
or InputType.Choice)
InteractionCommands.cs (1)
240
new InteractionInput { Name = "Password", InputType = InputType.
SecretText
, Label = "Password", Placeholder = "Enter password", Required = true, MaxLength = 20 },