public InweboDeviceNameResponse checkPushResult(final String login, final String sessionId) {
        return FunctionUtils.doUnchecked(() -> {
            val inwebo = casProperties.getAuthn().getMfa().getInwebo();
            val url = UriComponentsBuilder.fromUriString(inwebo.getServiceApiUrl())
                .queryParam("action", "checkPushResult")
                .queryParam("serviceId", inwebo.getServiceId())
                .queryParam("userId", login)
                .queryParam("sessionId", sessionId)
                .queryParam("format", "json")
                .toUriString();

            val json = call(url);
            val err = json.get("err").asText("OK");
            val response = (InweboDeviceNameResponse) buildResponse(new InweboDeviceNameResponse(),
                "checkPushResult(" + login + ')', err);
            retrieveDeviceName(json, response);
            return response;
        });
    }
Check push result for inwebo device.

@param login     the login
@param sessionId the session id
@return the inwebo device name response
support/cas-server-support-inwebo-mfa/src/main/java/org/apereo/cas/support/inwebo/service/InweboService.java