This commit is contained in:
2026-10-17 17:15:20 +03:30
parent 9fb70e14d7
commit 6203c7e084
4 changed files with 58 additions and 18 deletions
@@ -504,14 +504,9 @@ namespace xIds.Providers
? []
: requiredScope.ParseListString<string>();
//
// Audit Log ...
//
// Check Scope and IP is Valid or not ...
var isIpValid =
!allowedIps.HasChild() ||
allowedIps.Contains(clientIP);
var isIpValid = allowedIps.IsClientIpPassed(clientIP);
var isScopeValid =
allowedScopes
.IsScopePassed(requiredScopes);