@Override
    protected Event doExecuteInternal(final RequestContext requestContext) {
        val request = WebUtils.getHttpServletRequestFromExternalWebflowContext(requestContext);
        val token = request.getParameter(TokenConstants.PARAMETER_NAME_TOKEN);
        val deviceId = request.getParameter("deviceId");
        LOGGER.debug("Received QR token [{}] with device identifier [{}]", token, deviceId);
        val credential = new QRAuthenticationTokenCredential(token, deviceId);
        WebUtils.putCredential(requestContext, credential);
        return eventFactory.event(this, CasWebflowConstants.TRANSITION_ID_FINALIZE);
    }
This is {@link QRAuthenticationValidateTokenAction}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-qr-authentication/src/main/java/org/apereo/cas/qr/web/flow/QRAuthenticationValidateTokenAction.java