in FirebaseAdmin/FirebaseAdmin/Auth/UserRecordArgs.cs [105:124]
internal static string CheckUid(string uid, bool required = false)
{
if (uid == null)
{
if (required)
{
throw new ArgumentNullException(nameof(uid));
}
}
else if (uid == string.Empty)
{
throw new ArgumentException("Uid must not be empty");
}
else if (uid.Length > 128)
{
throw new ArgumentException("Uid must not be longer than 128 characters");
}
return uid;
}