25 references to SecretText
Aspire.Hosting (8)
ApplicationModel\ParameterResource.cs (1)
604
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)
294
Aspire.Hosting.InputType.
SecretText
=> Aspire.DashboardService.Proto.V1.InputType.SecretText,
308
Aspire.DashboardService.Proto.V1.InputType.SecretText => InputType.
SecretText
,
InteractionService.cs (1)
643
case InputType.
SecretText
:
ParameterResourceBuilderExtensions.cs (1)
297
InputType = options.InputType ?? (parameter.Secret ? InputType.
SecretText
: InputType.Text),
Aspire.Hosting.Azure (2)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (2)
218
InputType = InputType.
SecretText
,
317
InputType = InputType.
SecretText
,
Aspire.Hosting.Tests (10)
AddParameterTests.cs (2)
826
Assert.Equal(InputType.
SecretText
, input.InputType);
1063
Assert.Equal(InputType.
SecretText
, input.InputType);
InteractionServiceTests.cs (4)
616
[InlineData(InputType.
SecretText
, 10)]
748
new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.
SecretText
},
961
new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.
SecretText
}
975
new InputDto("Password", "testpass", InputType.
SecretText
)
Orchestrator\ParameterProcessorTests.cs (2)
310
Assert.Equal(InputType.
SecretText
, input.InputType);
664
Assert.Equal(InputType.
SecretText
, secretInput.InputType);
ResourceCommandServiceTests.cs (2)
671
InputType = InputType.
SecretText
,
682
InputType = InputType.
SecretText
,
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
173
InputType = InputType.
SecretText
,
Stress.AppHost (4)
CommandResources.cs (2)
248
InputType = InputType.
SecretText
,
351
.Where(i => i.InputType is InputType.Text or InputType.
SecretText
or InputType.Choice)
InteractionCommands.cs (2)
256
new InteractionInput { Name = "Password", InputType = InputType.
SecretText
, Label = "Password", Description = "The password for the reservation. Maximum 20 characters.", Placeholder = "Enter password", Required = true, MaxLength = 20 },
311
InputType = InputType.
SecretText
,