in FirebaseAdmin/FirebaseAdmin/Auth/Users/EmailActionLinkRequest.cs [103:142]
private void ValidateSettings()
{
if (string.IsNullOrEmpty(this.Url))
{
throw new ArgumentException("Url must not be null or empty");
}
else if (!Uri.IsWellFormedUriString(this.Url, UriKind.Absolute))
{
throw new ArgumentException($"Malformed Url string: {this.Url}");
}
if (this.AndroidInstallApp == true || this.AndroidMinimumVersion != null)
{
if (string.IsNullOrEmpty(this.AndroidPackageName))
{
throw new ArgumentException(
"AndroidPackageName is required when specifying other Android settings");
}
}
if (this.DynamicLinkDomain == string.Empty)
{
throw new ArgumentException("DynamicLinkDomain must not be empty");
}
if (this.IosBundleId == string.Empty)
{
throw new ArgumentException("IosBundleId must not be empty");
}
if (this.AndroidPackageName == string.Empty)
{
throw new ArgumentException("AndroidPackageName must not be empty");
}
if (this.AndroidMinimumVersion == string.Empty)
{
throw new ArgumentException("AndroidMinimumVersion must not be empty");
}
}