public void RemoveScope(string scope) { AllowedScopes.RemoveAll(r => r.Scope == scope); }
public void RemoveScope(string scope) { AllowedScopes.RemoveAll(x => x.Scope.Equals(scope, StringComparison.CurrentCultureIgnoreCase)); }