1 write to Username
NuGet.Configuration (1)
PackageSource\PackageSourceCredential.cs (1)
100
Username
= username ?? throw new ArgumentNullException(nameof(username));
7 references to Username
NuGet.Configuration (7)
PackageSource\PackageSourceCredential.cs (7)
84
public bool IsValid() => !string.IsNullOrEmpty(
Username
) && !string.IsNullOrEmpty(PasswordText);
112
combiner.AddObject(
Username
);
178
return new AuthTypeFilteredCredentials(new NetworkCredential(
Username
, Password), ValidAuthenticationTypes);
183
return new PackageSourceCredential(Source,
Username
, PasswordText, IsPasswordClearText, ValidAuthenticationTypesText);
207
return new CredentialsItem(Source,
Username
, PasswordText, IsPasswordClearText, ValidAuthenticationTypesText);
223
string.Equals(
Username
, other.
Username
, StringComparison.Ordinal) &&