How to sign programmatically

Suppose I got user info from facebook with SDK... I will get user id, name, email etc. I want them login directly without creating any account... how can I achieve that?