}
@Override
public String[] getAuthorizedScopes(String... scopes) throws OAuthRequestException {
GetOAuthUserResponse response = getGetOAuthUserResponse(scopes);
return response.scopess().toArray(new String[response.scopesSize()]);
}
private GetOAuthUserResponse getGetOAuthUserResponse(String[] scopes)
throws OAuthRequestException {
ApiProxy.Environment environment = ApiProxy.getCurrentEnvironment();