protected void populateContextWithCredential(final RequestContext requestContext, final TransientSessionTicket ticket,
                                                 final Authentication authentication) {
        val requestParameters = requestContext.getRequestParameters();
        val duoCode = requestParameters.get(REQUEST_PARAMETER_CODE, String.class);

        val duoSecurityIdentifier = ticket.getProperty("duoProviderId", String.class);
        populateContextWithCredential(requestContext, authentication, duoCode, duoSecurityIdentifier);
    }
This is {@link DuoSecurityUniversalPromptPrepareLoginAction}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-duo-core/src/main/java/org/apereo/cas/adaptors/duo/web/flow/action/DuoSecurityUniversalPromptValidateLoginAction.java