last ...
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user