我需要实现一个用户来使用 DocuSign 登录我的应用程序。我已经使用 Xamarin.Forms 实现了应用程序。如何在 Xamarin.Forms 中实现 Docusign?
您需要使用户/签名者成为embedded signer
. 通过clientUserId
在签名者节点中添加属性,如下所示:
"signers": [{
"email": "[email protected]",
"name": "Signer Name",
"recipientId": "1",
"clientUserId": "12345",
"routingOrder": "1"
}
当您希望签名者登录您的应用程序时,您将调用以下端点
POST /v2/accounts/{accountId}/envelopes/{envelopeId}/views/recipient
使用 requestBody 如下:
{
"authenticationMethod": "Password",
"clientUserId": "12345",
"email": "[email protected]",
"returnUrl": "YourAppUrl",
"userName": "Signer Name"
}
此 API 调用将生成一个 300 秒到期的 URL,将用户重定向到此 URL 并让用户使用此 URL 进行签名。
有关此 API 调用的更多详细信息,请访问EnvelopeViews:createRecipient
DS 开发人员中心还提供了不同编码语言的示例
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句