This is the library which allows iron.io workers to authenticate themselves on sites using OAuth 2 protocol. Usually it is used for web callbacks. The library is based on lusitanian/oauth library.
See "example" directory.
It is really simple after you fill in configuration settings. For code usage see worker-example.php file.