public object Any(UserAuths request) { var response = new UserAuthsResponse { UserSession = base.UserSession, Users = Db.Select <User>(), UserAuths = Db.Select <UserAuth>(), OAuthProviders = Db.Select <UserOAuthProvider>(), }; response.UserAuths.ForEach(x => x.PasswordHash = "[Redacted]"); response.OAuthProviders.ForEach(x => x.AccessToken = x.AccessTokenSecret = x.RequestTokenSecret = "[Redacted]"); return(response); }
public object Any(UserAuths request) { var response = new UserAuthsResponse { UserSession = base.UserSession, Users = Db.Select<User>(), UserAuths = Db.Select<UserAuth>(), OAuthProviders = Db.Select<UserOAuthProvider>(), }; response.UserAuths.ForEach(x => x.PasswordHash = "[Redacted]"); response.OAuthProviders.ForEach(x => x.AccessToken = x.AccessTokenSecret = x.RequestTokenSecret = "[Redacted]"); return response; }