add helper methods on OAuth2 and OAuth2Delegate