if (requestWriterPermission != null && requestWriterPermission) {
request.setRequestWriterPermission(true);
}
byte[] responseBytes = makeSyncCall(GET_OAUTH_USER_METHOD, request);
response = new GetOAuthUserResponse();
response.mergeFrom(responseBytes);
environment.getAttributes().put(GET_OAUTH_USER_RESPONSE_KEY, response);
environment.getAttributes().put(GET_OAUTH_USER_SCOPE_KEY, scopesKey);
}
return response;
}