@Override
    protected Event doExecuteInternal(final RequestContext requestContext) {
        val authentication = WebUtils.getAuthentication(requestContext);
        val principal = authentication.getPrincipal();
        val devices = mfaTrustEngine.get(principal.getId())
            .stream()
            .map(device -> mapMultifactorAuthenticationTrustRecord(requestContext, device))
            .toList();
        MultifactorAuthenticationTrustUtils.putMultifactorAuthenticationTrustedDevices(requestContext, devices);
        return null;
    }
This is {@link DefaultMultifactorAuthenticationTrustedDeviceProviderAction}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/web/flow/DefaultMultifactorAuthenticationTrustedDeviceProviderAction.java