Fixed typo in API specification.
Added a helper class for implementing the OAuth 2 authentication flow.