How to integrate OAuth2 authentication to REST API library

Dear Friends,
I am using Simple-REST Library for my REST Web service purpose . I need to integrate “OAuth2” with my REST API skeleton.
I attached the REST - API Client & Server for your reference . Please check it and help me

with a good solution for implementation.

Thanks,
Anes