in FirebaseAdmin/FirebaseAdmin/Auth/UserRecordArgs.cs [172:197]
internal static void CheckProvider(string providerId, string providerUid, bool required = false)
{
if (providerId == null)
{
if (required)
{
throw new ArgumentNullException(nameof(providerId));
}
}
else if (providerId == string.Empty)
{
throw new ArgumentException(nameof(providerId) + " must not be empty");
}
if (providerUid == null)
{
if (required)
{
throw new ArgumentNullException(nameof(providerUid));
}
}
else if (providerUid == string.Empty)
{
throw new ArgumentException(nameof(providerUid) + " must not be empty");
}
}