How to use OAuth1,OAuth2 options in HttpRequest?

@sureshf1204 ,Could you explain what is the requirement and where you got stuck ? if i know that ,it would be very help full to me to explain the activity.