super(config, resourceHub, parser, auth, restClient);
}
@Override
public BoxUser getCurrentUser(BoxDefaultRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException {
GetCurrentUserRequest request = new GetCurrentUserRequest(getConfig(), getJSONParser(), requestObject);
return (BoxUser) getResponseAndParseAndTryCast(request, BoxResourceType.USER, getJSONParser());
}