public bool Add(OAuthClient data) { data.AllowedScopes = _scopes.Where(s => data.AllowedScopes.Any(_ => _.Name == s.Name)).ToList(); _clients.Add((OpenIdClient)data.Clone()); return(true); }
public bool Add(OAuthClient data) { _clients.Add((OpenIdClient)data.Clone()); return(true); }