Duo-security:如何在双因素身份验证中通过Duo.init()上的post_argument传递参数


Duo security: how to pass arguments through post_argument on Duo.init() in two factor authentication

我使用Duo-Security在我的站点上实现双因素身份验证。问题是我需要传递一些带有值的参数。有人说,这可以通过使用post_argument(post_action中签名响应的参数)来完成。但是怎么做呢
有什么可以参考的吗https://www.duosecurity.com/docs/duoweb

<script>
    Duo.init({
        'host': <?php echo "'" . HOST . "'"; ?>,
        'post_action':'index.php',
        'sig_request':<?php echo "'" . $sig_request . "'"; ?>
        'post_argument': ? *what will be here* ?
    });
</script>    

提前谢谢。

WebSDK文档中有关于这方面的说明:https://www.duosecurity.com/docs/duoweb#passing-带有签名响应的附加post参数

Duo的JavaScript将传递在Duo_form表单中找到的附加参数以及签名的响应。例如:

<form method="POST" id="duo_form">
<input type="hidden" name="next" value="next" />
</form>