class ApplicationGetUserInfoAction extends RobotAction {

    @Override
    public boolean action(Request request, Response response) {<FILL_FUNCTION_BODY>}
}

        if (request.getNettyRequest() instanceof FullHttpRequest) {
            InputApplicationGetUserInfo inputUserToken = getRequestBody(request.getNettyRequest(), InputApplicationGetUserInfo.class);
            RestResult result;
            if (inputUserToken == null || StringUtil.isNullOrEmpty(inputUserToken.getAuthCode())) {
                result = RestResult.resultOf(ErrorCode.INVALID_PARAMETER);
            } else {
                String userId = messagesStore.verifyApplicationAuthCode(inputUserToken.getAuthCode(), robot.getUid(), ProtoConstants.ApplicationType.ApplicationType_Robot);
                if(userId != null) {
                    OutputApplicationUserInfo outputVerifyApplicationUser = new OutputApplicationUserInfo();
                    outputVerifyApplicationUser.setUserId(userId);
                    WFCMessage.User user = messagesStore.getUserInfo(userId);
                    if(user != null) {
                        outputVerifyApplicationUser.setDisplayName(user.getDisplayName());
                        outputVerifyApplicationUser.setPortraitUrl(user.getPortrait());
                    }
                    result = RestResult.ok(outputVerifyApplicationUser);
                } else {
                    result = RestResult.resultOf(ErrorCode.ERROR_CODE_APPLICATION_TOKEN_ERROR_OR_TIMEOUT);
                }
            }

            response.setStatus(HttpResponseStatus.OK);
            response.setContent(gson.toJson(result));
        }
        return true;
    
<methods>public non-sealed void <init>() ,public cn.wildfirechat.common.ErrorCode preAction(com.xiaoleilu.loServer.handler.Request, com.xiaoleilu.loServer.handler.Response) <variables>protected static final Logger LOG,protected cn.wildfirechat.proto.WFCMessage.Robot robot