params.put("scope", singletonList(join(Arrays.asList(scopes),",")));
OauthToken resp = bees.formUrlEncoded(gcUrl+"/oauth/token", null, params).bind(OauthToken.class,bees);
return resp;
} catch (IOException e) {
throw new OauthClientException("Failed to exchange authorization code to access token",e);
}
}