added api documentation for oauth2-lib
updated based on @matzew feedback
updated based on @corinnekrych feedback
Merge branch 'AGIOS-273'