[英]How to implement Docusign in iOS and Android App with Xamarin.Forms?
I need to implement a user to make sign in my app using DocuSign. 我需要实现一个用户以使用DocuSign登录我的应用程序。 I have implemented application using Xamarin.Forms. 我已经使用Xamarin.Forms实现了应用程序。 How to implement Docusign in Xamarin.Forms? 如何在Xamarin.Forms中实现Docusign?
You need to make user/signer an embedded signer
. 您需要使用户/签名者成为embedded signer
。 By adding clientUserId
property in the signer node, like below: 通过在签署者节点中添加clientUserId
属性,如下所示:
"signers": [{
"email": "signeremail@email.com",
"name": "Signer Name",
"recipientId": "1",
"clientUserId": "12345",
"routingOrder": "1"
}
When you want signer to sign in your App, then you will call below endpoint 当您希望签名者登录您的应用程序时,您将在以下端点调用
POST /v2/accounts/{accountId}/envelopes/{envelopeId}/views/recipient
with requestBody like below: 与requestBody如下所示:
{
"authenticationMethod": "Password",
"clientUserId": "12345",
"email": "signeremail@email.com",
"returnUrl": "YourAppUrl",
"userName": "Signer Name"
}
This API call will generate a URL which will have expiry of 300 seconds, redirect user to this URL and make user Sign using this URL. 此API调用将生成一个有效期为300秒的URL,将用户重定向到该URL并使用该URL进行用户签名。
More details for this API call are available at EnvelopeViews: createRecipient 有关此API调用的更多详细信息,请参见EnvelopeViews:createRecipient
Example in different coding languages are also available at DS Developer Center DS Developer Center也提供了不同编码语言的示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.