comment approval

I’d like a way to specifiy that if a user is logged in with twitter, facebook, or gmail, their comment gets posted immediately without moderation. if they are logged in with wp, and have commented before, same thing. if they have never commented before, their comment will be held for moderation. how do I do this? thanks!