Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
81fb993
PB-96570 Change test cases for passing SDK tests on OSSQ6
houjianyu Aug 24, 2023
055173d
PB-96954 Add support for LexisNexis as a KBA authentication method vi…
sohanal1 Jul 12, 2023
f9f82cc
PB-96572 Release .NET SDK 23.R4(11.53)
houjianyu Aug 25, 2023
1b5ff68
PB-97465 Support fields tooltip
zbi-ospn Aug 16, 2023
fe32da5
PB-98888 Release .NET SDK 11.54
houjianyu Oct 11, 2023
ec73713
PB-100965 Modified AuditService, FieldSummaryService and SessionServi…
houjianyu Dec 4, 2023
c6dadd1
PB-100965 Modified AuditService, FieldSummaryService and SessionServi…
houjianyu Dec 4, 2023
5272d6f
feat: PB-100770 Add base64 encoded document content support when crea…
Kehang-Xu Nov 24, 2023
2ad9c48
feat: PB-96798 Cleanup Equifax CA and US .Net SDK code
sohanal1 Nov 24, 2023
febba7f
feat: PB-101903 Revert Equifax code cleanup - .Net sdk project
sohanal1 Dec 18, 2023
4c75bee
fix: PB-102587 Updated get packages API CALL
devirte1 Jan 22, 2024
d2b15b6
PB-102213 Release SDK 24R1(11.55)
houjianyu Jan 24, 2024
05adfd7
PB-102737 Removed validateMixingSignatureAndAcceptance(), and some 'e…
houjianyu Feb 7, 2024
464e147
feat: PB-101327 Support Base64 encoded document uploading in '/docume…
Kehang-Xu Feb 12, 2024
1fc67ca
feat: PB-98670 Configure signature logo
zbi-ospn Feb 13, 2024
3604e64
feat: PB-102326 Add example and tester for Account role with Layout P…
sohanal1 Feb 14, 2024
6bb6318
PB-98153 Following the changes for Group Management
houjianyu Feb 16, 2024
5ffab25
Changed the Email Addresses to Amazon one
houjianyu Feb 20, 2024
aa31801
feat: PB-102640 Cleanup Equifax CA and US .Net SDK code
sohanal1 Nov 24, 2023
58acd83
PB-103752 Release SDK 24.R2 (11.56)
houjianyu Mar 27, 2024
8ae2eab
feat: PB-103027 add integration-framework workflow setting in package…
Kehang-Xu Mar 25, 2024
7b9f0eb
feat: PB-101661 Add example and tester for Account role with Template…
sohanal1 Apr 8, 2024
174b403
PB-104573 Added signature.signed property and related tests
houjianyu Apr 10, 2024
54dd7fd
feat: PB-100611 Support Name Order setting from .NET SDK
sohanal1 Apr 17, 2024
7c1c858
feat: PB-103730 Adding allowSignersDownloadEvidenceSummary feature se…
singhjaswinderOnespan Apr 10, 2024
7297fb5
fix: Update default.signers.properties with missing properties
sohanal1 Apr 17, 2024
9dcfe67
PB-105097 Added UserId in SDK model of GroupMember
houjianyu Apr 27, 2024
c71cde7
PB-102670 Changed the Example
houjianyu Apr 27, 2024
f0c10fe
feat: PB-92764 Self-Serve Phase 4 - Designer Settings
devirte1 Oct 30, 2023
ed2cb59
feat: PB-92764 Self Serve Phase 4 - Email Reminders
devirte1 Oct 30, 2023
94973a1
feat: PB-92764 Self Serve Phase 4 - Upload Settings
devirte1 Oct 31, 2023
ed09da9
feat: PB-92764 Self Serve Phase 4 - System Settings
devirte1 Nov 1, 2023
7410d51
feat: PB-92764 minor changes
devirte1 Nov 1, 2023
67079b7
feat: PB-92764 misc changes
devirte1 Nov 1, 2023
2087048
feat: PB-92764 Self Serve Phase 4 - Converter and Builder Tests
devirte1 Nov 6, 2023
c25046a
PB-104564 Release SDK 24.R3(11.57)
houjianyu May 15, 2024
444ce7a
feat: PB-92764 Self Serve Phase 4 - System Settings
devirte1 Nov 1, 2023
80f68b0
PB-105212: Update Java and .NET SDKs to support vaulting data API.
suxi1-ospn Jun 3, 2024
03f6d50
PB-105212: Update Java and .NET SDKs to support vaulting data API.
suxi1-ospn Jun 3, 2024
b1fb7fa
Merge pull request #118 from mrmontreal/master
mrmontreal Jun 3, 2024
5a661b4
Revert "PB-105212: Update Java and .NET SDKs to support vaulting data…
eslci-esl Jun 5, 2024
87ba42a
Merge pull request #119 from OneSpan/revert-118-master
houjianyu Jun 5, 2024
ef70415
feat : PB-101292 Implement the OAuth authentication to the .Net SDK
sohanal1 May 29, 2024
3bdd144
feat: PB-106699 Add leeway for oauth2 access token expiry
gadheam1-oss Jun 27, 2024
2a8ef10
feat : PB-101292 Implement the OAuth authentication to the .Net SDK
sohanal1 May 29, 2024
9d1b7aa
feat : PB-101292 Implement the OAuth authentication to the .Net SDK
sohanal1 May 29, 2024
96aac8b
feat : PB-101292 Implement the OAuth authentication to the .Net SDK
sohanal1 May 29, 2024
fe4afcf
feat: PB-106699 Add leeway for oauth2 access token expiry
gadheam1-oss Jun 27, 2024
34542ca
feat: PB-106699 Update Oauth2Token expiry leeway
gadheam1-oss Jul 10, 2024
e9f6025
feat: PB-107312 Implement a new oss client provider to manage multipl…
ckeyrouz Jul 17, 2024
711f797
feat: PB-107312 Add an example to test the oauth2 mechanism.
ckeyrouz Jul 18, 2024
e407b10
feat: PB-107312 Add files deleted by mistake.
ckeyrouz Jul 18, 2024
1b1c6a6
feat: PB-107312 Revert changes done to the configuration of the project.
ckeyrouz Jul 18, 2024
6ab38ae
Merge PB-106706 QASMS Authentication (#124)
houjianyu Jul 19, 2024
7710fab
PB-106624 Release SDK 24.R4(11.58)
houjianyu Jul 31, 2024
bb65aa3
Merge PB-106706 QASMS Authentication (#124)
houjianyu Jul 19, 2024
07ce30c
Merge PB-106706 QASMS Authentication (#124)
houjianyu Jul 19, 2024
8eba8a3
feat: PB-102387 Limit Supported Languages Self-Serve (#125)
devirte1 Aug 5, 2024
5c89729
fix: PB-109955 Change the usage of UrlTemplate to become thread safe.…
ckeyrouz Oct 3, 2024
d883dd3
PB-108595 Release 24.R5(11.59) SDK + misc changes (#127)
houjianyu Oct 11, 2024
d769b58
PB-108595 Release 24.R5 (11.59) SDK with misc. changes.
houjianyu Oct 11, 2024
698589f
fix: PB-112050 Update jenkins.properties with api token authenticatio…
sohanal1 Jan 8, 2025
9c10e40
PB-113860 Release SDK 11.62(25.R2)
houjianyu Apr 1, 2025
123d4c8
fix: PB-112793 -fix signing for duplicate email (#131)
sriha1 May 5, 2025
3b6953c
PB-115002 Release .NET SDK 25.R3(11.63.0) with misc. changes
houjianyu Jun 11, 2025
b097680
feat: PB-116799 Support in app widget self-serve configuration (#132)
nikrama1 Jun 30, 2025
b7d78a5
feat: PB-116799 Support in app widget self-serve configuration in SDK…
nikrama1 Jul 8, 2025
75c59c8
Feat/pb-114046 added support for notification methods (#133)
peteboi-onespan Jul 10, 2025
6024b1b
PB-115008 Release OSS SDK 11.64.0
houjianyu Aug 6, 2025
1a9bc4c
feat: PB-116736 Support Ad Hoc Group
zbi-ospn Aug 20, 2025
40df7b6
feat: PB-118813 alerts added to package, alerts extensions example te…
saraeta1 Sep 16, 2025
78c5f90
PB-115014 Release SDK 25.R5(11.65)
houjianyu Oct 9, 2025
aab2d08
PB-119997 Fix OAuth Token Management Issue (#138)
houjianyu Oct 16, 2025
c663f7e
PB-120104 Fix NullReferenceException in GetPackage()
houjianyu Oct 27, 2025
0bcd5d2
feat: PB-119303 supporting document endpoints are added (#141)
nikrama1 Nov 7, 2025
ef36a71
PB-121762 Removed idv-workflow-config api from esl sdk -.NET
jinsongtao Dec 10, 2025
fbdc5d8
feat: PB-119095 NM with adhoc group test added (#143)
saraeta1 Dec 11, 2025
b3810f5
PB-115021 Release SDK 26.R1(11.66.0)
houjianyu Dec 14, 2025
67b384d
feat: PB-119095 added test for owner signer with NM in adhoc group (#…
saraeta1 Dec 18, 2025
280a5aa
PB-116763 Support delegation when generating token (#144)
zbi-ospn Jan 20, 2026
f494cd3
PB-122834 Add more detail in OssException
zbi-ospn Jan 30, 2026
9cfa1ea
PB-122265 OSS 26.R2 (11.67.0) Publish .NET SDK
houjianyu Mar 18, 2026
2e9634d
fix: PB-124344 No flaky failures due to ordering (#4) (#150)
nikrama1 Mar 13, 2026
d02f49e
PB-118359 and PB-122194 Apply Default Settings for Notification Metho…
houjianyu Mar 18, 2026
92d9799
PB-116800 Support Choose Signature (#149)
zbi-ospn Mar 12, 2026
b0d662e
feat: PB-124936 Add SDK methods for the 'localize-consent' API (#153)
pashkma1 Apr 10, 2026
8ec9879
feat: PB-121259 support sms as the only notification method for signe…
iryna-onespan Apr 14, 2026
e47167a
feat: PB-125563 Handle 'localize-consent' API common business cases. …
pashkma1 Apr 23, 2026
ee96634
PB-122272 OSS 26.R3 (11.68.0) Publish .NET SDK
houjianyu Apr 26, 2026
67d3a95
PB-124387 Clean up the created Packages and Templates during Test
houjianyu Apr 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ signers.properties.*
#Mac
.DS_Store
.vscode/launch.json
/src/Samples/signers.properties
/src/Samples/signers.properties.*
50 changes: 50 additions & 0 deletions src/SDK.Tests/Builder/AccountDesignerSettingsBuilderTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
using NUnit.Framework;
using OneSpanSign.Sdk;

namespace SDK.Tests
{
[TestFixture]
public class AccountDesignerSettingsBuilderTest
{
public AccountDesignerSettingsBuilderTest()
{
}

[Test]
public void buildWithSpecifiedValues()
{
AccountDesignerSettings accountDesignerSettings = AccountDesignerSettingsBuilder.NewAccountDesignerSettings()
.WithSend()
.WithDone()
.WithoutSettings()
.WithoutDocumentVisibility()
.WithAddDocument()
.WithEditDocument()
.WithoutDeleteDocument()
.WithoutAddSigner()
.WithEditRecipient()
.WithRolePickerSender()
.WithoutSaveLayout()
.WithoutApplyLayout()
.WithShowSharedLayouts()
.WithDefaultSignatureType("capture")
.Build();

Assert.IsTrue(accountDesignerSettings.Send);
Assert.IsTrue(accountDesignerSettings.Done);
Assert.IsFalse(accountDesignerSettings.Settings);
Assert.IsFalse(accountDesignerSettings.DocumentVisibility);
Assert.IsTrue(accountDesignerSettings.AddDocument);
Assert.IsTrue(accountDesignerSettings.EditDocument);
Assert.IsFalse(accountDesignerSettings.DeleteDocument);
Assert.IsFalse(accountDesignerSettings.AddSigner);
Assert.IsTrue(accountDesignerSettings.EditRecipient);
Assert.IsTrue(accountDesignerSettings.RolePickerSender);
Assert.IsFalse(accountDesignerSettings.SaveLayout);
Assert.IsFalse(accountDesignerSettings.ApplyLayout);
Assert.IsTrue(accountDesignerSettings.ShowSharedLayouts);
Assert.AreEqual("capture",accountDesignerSettings.DefaultSignatureType);
}

}
}
29 changes: 29 additions & 0 deletions src/SDK.Tests/Builder/AccountEmailReminderSettingsBuilderTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
using NUnit.Framework;
using OneSpanSign.Sdk;

namespace SDK.Tests
{
[TestFixture]
public class AccountEmailReminderSettingsBuilderTest
{
public AccountEmailReminderSettingsBuilderTest()
{
}

[Test]
public void buildWithSpecifiedValues()
{
AccountEmailReminderSettings accountEmailReminderSettings = AccountEmailReminderSettingsBuilder
.NewAccountEmailReminderSettings()
.WithRepetitionsCount(2)
.WithIntervalInDays(400)
.WithStartInDaysDelay(20)
.Build();

Assert.AreEqual(accountEmailReminderSettings.StartInDaysDelay, 20);
Assert.AreEqual(accountEmailReminderSettings.IntervalInDays, 400);
Assert.AreEqual(accountEmailReminderSettings.RepetitionsCount, 2);
}

}
}
32 changes: 32 additions & 0 deletions src/SDK.Tests/Builder/AccountSystemSettingPropertiesBuilderTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
using NUnit.Framework;
using OneSpanSign.Sdk;

namespace SDK.Tests
{
[TestFixture]
public class AccountSystemSettingPropertiesBuilderTest
{
public AccountSystemSettingPropertiesBuilderTest()
{

}

[Test]
public void buildWithSpecifiedValues()
{

AccountSystemSettingProperties accountSystemSettingProperties = AccountSystemSettingPropertiesBuilder
.NewAccountSystemSettingPropertiesBuilder()
.WithLoginSessionTimeout(20)
.WithSessionTimeoutWarning(300000)
.WithSenderLoginMaxFailedAttempts(120000)
.Build();


Assert.IsTrue(accountSystemSettingProperties.SenderLoginMaxFailedAttempts.Equals(120000));
Assert.IsTrue(accountSystemSettingProperties.LoginSessionTimeout == 20);
Assert.IsTrue(accountSystemSettingProperties.SessionTimeoutWarning == 300000);

}
}
}
29 changes: 29 additions & 0 deletions src/SDK.Tests/Builder/AccountUploadSettingsBuilderTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
using NUnit.Framework;
using OneSpanSign.Sdk;
using System.Collections.Generic;

namespace SDK.Tests
{
[TestFixture]
public class AccountUploadSettingsBuilderTest
{
public AccountUploadSettingsBuilderTest()
{

}

[Test]
public void buildWithSpecifiedValues()
{

AccountUploadSettings accountUploadSettings = AccountUploadSettingsBuilder
.NewAccountUploadSettings()
.WithAllowedFileTypes(new List<string> { "FileType1", "FileType2" })
.Build();

Assert.IsTrue(accountUploadSettings.AllowedFileTypes.Contains("FileType1"));
Assert.IsTrue(accountUploadSettings.AllowedFileTypes.Contains("FileType2"));

}
}
}
22 changes: 22 additions & 0 deletions src/SDK.Tests/Builder/FieldBuilderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ public void creatingRadioButtonFieldSetsStyle()

Assert.AreEqual(FieldStyle.UNBOUND_RADIO_BUTTON, field.Style);
}

[Test]
public void creatingRadioButtonFieldWithGroupTooltipSetsStyle()
{
String groupTooltip = "group tooltip";
Field field = FieldBuilder.RadioButtonWithGroupTooltip("group", groupTooltip).AtPosition(100, 100).Build();

Assert.AreEqual(FieldStyle.UNBOUND_RADIO_BUTTON, field.Style);
Assert.AreEqual(groupTooltip, field.Validator.GroupTooltip);
}

[Test]
public void creatingTextAreaFieldSetsStyle()
Expand All @@ -116,5 +126,17 @@ public void creatingQRCodeFieldSetsStyle()
Assert.AreEqual(77.0, field.Height);
Assert.AreEqual(77.0, field.Width);
}

[Test]
public void CreatingFieldSetsTooltip()
{
String tooltipMessage = "Tooltip message.";
Field field = FieldBuilder.NewField()
.WithTooltip(tooltipMessage)
.WithStyle(FieldStyle.UNBOUND_TEXT_FIELD)
.Build();

Assert.AreEqual(tooltipMessage, field.Tooltip);
}
}
}
30 changes: 0 additions & 30 deletions src/SDK.Tests/Builder/IdvWorkflowConfigBuilderTest.cs

This file was deleted.

48 changes: 47 additions & 1 deletion src/SDK.Tests/Builder/SignerBuilderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,52 @@ public void CanSpecifyTitleAndCompany()
Assert.AreEqual ("Managing Director", signer.Title);
Assert.AreEqual ("Acme Inc", signer.Company);
}

[Test]
public void CannotSetSMSNotificationWithoutPhone()
{
Assert.Throws<OssException>(() => SignerBuilder.NewSignerWithEmail ("billy@bob.com")
.WithFirstName ("Billy")
.WithLastName ("Bob")
.WithNotificationMethods(NotificationMethodsBuilder.NewNotificationMethods()
.WithPrimaryMethods(NotificationMethod.EMAIL, NotificationMethod.SMS)
)
.Build ());
}

[Test]
public void CanSpecifyNotificationMethods()
{
Signer signer = SignerBuilder.NewSignerWithEmail ("billy@bob.com")
.WithFirstName ("Billy")
.WithLastName ("Bob")
.WithNotificationMethods(NotificationMethodsBuilder.NewNotificationMethods()
.WithPhoneNumber("+16356489274")
.WithPrimaryMethods(NotificationMethod.EMAIL, NotificationMethod.SMS)
)
.Build ();

Assert.NotNull(signer.NotificationMethods);
Assert.IsTrue(signer.NotificationMethods.Primary.Contains(NotificationMethod.EMAIL) &&
signer.NotificationMethods.Primary.Contains(NotificationMethod.SMS));
}

[Test]
public void CanAddSMSOnly()
{
Signer signer = SignerBuilder.NewSignerWithEmail ("billy@bob.com")
.WithFirstName ("Billy")
.WithLastName ("Bob")
.WithNotificationMethods(NotificationMethodsBuilder.NewNotificationMethods()
.WithPhoneNumber("+16356489274")
.WithPrimaryMethods(NotificationMethod.SMS)
)
.Build ();

Assert.NotNull(signer.NotificationMethods);
Assert.IsTrue(signer.NotificationMethods.Primary.Contains(NotificationMethod.SMS));
Assert.IsFalse(signer.NotificationMethods.Primary.Contains(NotificationMethod.EMAIL));
}

[Test]
public void AuthenticationDefaultsToEmail()
Expand Down Expand Up @@ -114,7 +160,7 @@ public void ProvidingSignerCellPhoneNumberSetsUpSMSAuthentication()
.Build ();

Assert.AreEqual (AuthenticationMethod.SMS, signer.AuthenticationMethod);
Assert.AreEqual ("1112223333", signer.PhoneNumber);
Assert.AreEqual ("1112223333", signer.AuthPhoneNumber);
}

[Test]
Expand Down

This file was deleted.

53 changes: 0 additions & 53 deletions src/SDK.Tests/Builder/SignerInformationForEquifaxUSABuilderTest.cs

This file was deleted.

Loading