1 write to PasswordText
NuGet.Configuration (1)
PackageSource\PackageSourceCredential.cs (1)
101PasswordText = passwordText;
10 references to PasswordText
Aspire.Cli.Tests (1)
Commands\AddCommandTests.cs (1)
743Assert.Equal("test-password", configuredSource.Credentials.PasswordText);
NuGet.Configuration (9)
PackageSource\PackageSourceCredential.cs (9)
56if (PasswordText != null && !IsPasswordClearText) 60return EncryptionUtility.DecryptString(PasswordText); 70return PasswordText!; 84public bool IsValid() => !string.IsNullOrEmpty(Username) && !string.IsNullOrEmpty(PasswordText); 113combiner.AddObject(PasswordText); 183return new PackageSourceCredential(Source, Username, PasswordText, IsPasswordClearText, ValidAuthenticationTypesText); 207return new CredentialsItem(Source, Username, PasswordText, IsPasswordClearText, ValidAuthenticationTypesText); 224string.Equals(PasswordText, other.PasswordText, StringComparison.Ordinal) &&