in Source/WebApp-Service-Provider-DotNet/Helpers/Validation.cs [16:31]
public static bool IsEIdasLevelMet(string acrValues, int minimumEIdasLevel)
{
if (acrValues != null)
{
Regex myRegex = new(@"eidas(\d)");
Match match = myRegex.Match(acrValues);
if (match.Success)
{
int eIdasLevel = int.Parse(match.Groups[1].Value);
if (eIdasLevel >= minimumEIdasLevel)
return true;
}
}
return false;
}