@Override
    public String[] resolveFrom(final JoinPoint joinPoint, final Object returnValue) {
        val jp = AopUtils.unWrapJoinPoint(joinPoint);
        val args = jp.getArgs();
        if (args != null) {
            val authn = (Authentication) args[0];
            val provider = (MultifactorAuthenticationProvider) args[2];
            val values = new HashMap<String, Object>();
            values.put("principal", authn.getPrincipal().getId());
            values.put("provider", provider.getId());
            values.put("bypassed", BooleanUtils.toBoolean(returnValue.toString()));
            val bypass = (MultifactorAuthenticationProviderBypassEvaluator) jp.getTarget();
            values.put("source", bypass.getId());
            return new String[]{toResourceString(values)};
        }
        return ArrayUtils.EMPTY_STRING_ARRAY;
    }
This is {@link MultifactorAuthenticationProviderBypassAuditResourceResolver}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-authentication-mfa-api/src/main/java/org/apereo/cas/authentication/bypass/audit/MultifactorAuthenticationProviderBypassAuditResourceResolver.java