Common PHP classes for OAuth functionality