Helper classes for playing with oAuth2