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