/// <summary>
 /// Initializes a new instance of the <see cref="RecipientPreviewRequest" /> class.
 /// </summary>
 /// <param name="AssertionId">AssertionId.</param>
 /// <param name="AuthenticationInstant">AuthenticationInstant.</param>
 /// <param name="AuthenticationMethod">AuthenticationMethod.</param>
 /// <param name="ClientURLs">ClientURLs.</param>
 /// <param name="PingFrequency">PingFrequency.</param>
 /// <param name="PingUrl">PingUrl.</param>
 /// <param name="RecipientId">Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document..</param>
 /// <param name="ReturnUrl">ReturnUrl.</param>
 /// <param name="SecurityDomain">SecurityDomain.</param>
 /// <param name="XFrameOptions">XFrameOptions.</param>
 /// <param name="XFrameOptionsAllowFromUrl">XFrameOptionsAllowFromUrl.</param>
 public RecipientPreviewRequest(string AssertionId = default(string), string AuthenticationInstant = default(string), string AuthenticationMethod = default(string), RecipientTokenClientURLs ClientURLs = default(RecipientTokenClientURLs), string PingFrequency = default(string), string PingUrl = default(string), string RecipientId = default(string), string ReturnUrl = default(string), string SecurityDomain = default(string), string XFrameOptions = default(string), string XFrameOptionsAllowFromUrl = default(string))
 {
     this.AssertionId           = AssertionId;
     this.AuthenticationInstant = AuthenticationInstant;
     this.AuthenticationMethod  = AuthenticationMethod;
     this.ClientURLs            = ClientURLs;
     this.PingFrequency         = PingFrequency;
     this.PingUrl                   = PingUrl;
     this.RecipientId               = RecipientId;
     this.ReturnUrl                 = ReturnUrl;
     this.SecurityDomain            = SecurityDomain;
     this.XFrameOptions             = XFrameOptions;
     this.XFrameOptionsAllowFromUrl = XFrameOptionsAllowFromUrl;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RecipientViewRequest" /> class.
 /// </summary>
 /// <param name="AssertionId">A unique identifier of the authentication event executed by the client application..</param>
 /// <param name="AuthenticationInstant">A sender generated value that indicates the date/time that the signer was authenticated..</param>
 /// <param name="AuthenticationMethod">A sender created value that indicates the convention used to authenticate the signer. This information is included in the Certificate of Completion..</param>
 /// <param name="ClientURLs">ClientURLs.</param>
 /// <param name="ClientUserId">A sender created value that shows the recipient is embedded (captive).   Maximum length: 100 characters..</param>
 /// <param name="Email">Specifies the email of the recipient. You can use either email and userName or userId to identify the recipient..</param>
 /// <param name="FrameAncestors">FrameAncestors.</param>
 /// <param name="MessageOrigins">MessageOrigins.</param>
 /// <param name="PingFrequency">Only used if pingUrl is specified. This is the interval, in seconds, between pings on the pingUrl.  The default is 300 seconds. Valid values are 60-1200 seconds..</param>
 /// <param name="PingUrl">A client Url to be pinged by the DocuSign Signing experience to indicate to the client that Signing is active. An HTTP Get is executed against the client. The response from the client is ignored. The intent is for the client to reset it&#39;s session timer when the request is received..</param>
 /// <param name="RecipientId">Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document..</param>
 /// <param name="ReturnUrl">The url the recipient is redirected to after the signing session has ended. DocuSign redirects to the url and includes an event parameter that can be used by your application. Possible event parameter values:   * cancel (recipient canceled the signing operation) * decline (recipient declined to sign) * exception (an exception occurred) * fax_pending (recipient has a fax pending) * session_timeout (session timed out) * signing_complete (signer completed the signing ceremony) * ttl_expired (the TTL, time to live, timer expired) * viewing_complete (recipient completed viewing the envelope)  ###### Note: Include https:// in the URL or the redirect might not succeed on some browsers. .</param>
 /// <param name="SecurityDomain">The domain in which the user authenticated..</param>
 /// <param name="UserId">Specifies the user ID of the recipient. You can use with user ID or email and user name to identify the recipient. If user ID is used and a client user ID is provided, the value in the &#x60;userId&#x60; property must match a recipient ID (which can be retrieved with a GET recipients call) for the envelope. If a user ID is used and a clientUser ID is not provided, the user ID match the user ID of the authenticating user..</param>
 /// <param name="UserName">Specifies the username of the recipient. You can use either email and userName or userId to identify the recipient..</param>
 /// <param name="XFrameOptions">XFrameOptions.</param>
 /// <param name="XFrameOptionsAllowFromUrl">XFrameOptionsAllowFromUrl.</param>
 public RecipientViewRequest(string AssertionId = default(string), string AuthenticationInstant = default(string), string AuthenticationMethod = default(string), RecipientTokenClientURLs ClientURLs = default(RecipientTokenClientURLs), string ClientUserId = default(string), string Email = default(string), List <string> FrameAncestors = default(List <string>), List <string> MessageOrigins = default(List <string>), string PingFrequency = default(string), string PingUrl = default(string), string RecipientId = default(string), string ReturnUrl = default(string), string SecurityDomain = default(string), string UserId = default(string), string UserName = default(string), string XFrameOptions = default(string), string XFrameOptionsAllowFromUrl = default(string))
 {
     this.AssertionId           = AssertionId;
     this.AuthenticationInstant = AuthenticationInstant;
     this.AuthenticationMethod  = AuthenticationMethod;
     this.ClientURLs            = ClientURLs;
     this.ClientUserId          = ClientUserId;
     this.Email                     = Email;
     this.FrameAncestors            = FrameAncestors;
     this.MessageOrigins            = MessageOrigins;
     this.PingFrequency             = PingFrequency;
     this.PingUrl                   = PingUrl;
     this.RecipientId               = RecipientId;
     this.ReturnUrl                 = ReturnUrl;
     this.SecurityDomain            = SecurityDomain;
     this.UserId                    = UserId;
     this.UserName                  = UserName;
     this.XFrameOptions             = XFrameOptions;
     this.XFrameOptionsAllowFromUrl = XFrameOptionsAllowFromUrl;
 }