Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
2f6f1e7
refactor!: rename prj to `Fingerprint.ServerSdk`
erayaydin Oct 15, 2025
7af5781
chore: add changeset file for name change
erayaydin Oct 15, 2025
36b646f
chore: improve OpenAPI sync script structure
erayaydin Oct 16, 2025
7a79584
feat: remove unnecessary model files
erayaydin Oct 27, 2025
03370b5
feat: integrate ServerAPIv4 with openapi-generator
erayaydin Oct 27, 2025
9ff1cdf
build: download openapi-generator JAR on demand
erayaydin Oct 28, 2025
0d70099
build: add custom docs template
erayaydin Oct 28, 2025
b39aa8e
refactor: rename test vars and cleanup style
erayaydin Oct 28, 2025
892c128
build: better cleanup before SDK generate
erayaydin Oct 28, 2025
0074478
style: wrap project GUIDs with braces
erayaydin Oct 28, 2025
f9cf07a
test: add missing `400_ip_address_invalid` mock
erayaydin Oct 28, 2025
ed35e7d
refactor: serialize sealed result
erayaydin Oct 28, 2025
9cf1e97
feat: make tags a dictionary instead of object
erayaydin Oct 28, 2025
024438d
feat: migrate examples app to generic host
erayaydin Oct 28, 2025
2efa5ba
test: migrate nunit to xunit for functional tests
erayaydin Oct 28, 2025
db98de9
style: use correct names for token
erayaydin Oct 28, 2025
998063e
chore: change case sensitivity for some files
erayaydin Oct 28, 2025
420b499
chore: case sensitivity for generated Model
erayaydin Oct 28, 2025
d90aaca
chore: use correct cases for models
erayaydin Oct 28, 2025
11ae3bb
chore: use different case for model names
erayaydin Oct 28, 2025
6e9280d
chore: remove case issue model files
erayaydin Oct 29, 2025
f53fdc7
build: set specific language for SDK generate
erayaydin Oct 29, 2025
b3deed0
chore: remove unnecessary mono_nunit_test script
erayaydin Oct 29, 2025
90e4955
build: fix solution file name
erayaydin Oct 29, 2025
81e4783
build: use only `net8.0` for test project
erayaydin Oct 29, 2025
89f13b6
style: add xml docs for HostConfiguration
erayaydin Oct 29, 2025
6f5b589
test: add user agent test to DI
erayaydin Oct 29, 2025
527fcc8
test: modernize DI tests
erayaydin Oct 29, 2025
99eb5f0
docs: standardize file headers
erayaydin Oct 29, 2025
9c07ba8
test: modernize `SealedTests`
erayaydin Oct 29, 2025
715d23c
docs: add generic host examples to API docs
erayaydin Oct 30, 2025
f3bf159
docs: normalize model doc template
erayaydin Oct 30, 2025
5c5dcb7
docs: fix XML doc rendering
erayaydin Oct 30, 2025
3ef3729
chore: rename REQUEST_ID to EVENT_ID and use named
erayaydin Oct 30, 2025
b2ae80e
docs: add typed response example, try usage
erayaydin Oct 30, 2025
5182fbb
build: bump `BouncyCastle.Cryptography` to `2.6.2`
erayaydin Oct 30, 2025
a4638e3
build: upgrade `System.Threading.Channels`
erayaydin Oct 30, 2025
cdec018
build: bump `Microsoft.Extensions.Http` and Polly
erayaydin Oct 30, 2025
2148758
build: bump `Microsoft.Extensions.Hosting`
erayaydin Oct 30, 2025
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
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .changeset/silent-frogs-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"fingerprint-server-dotnet-sdk": major
---

Rename .NET SDK project and namespaces from `FingerprintPro.ServerSdk.*` to `Fingerprint.ServerSdk.*`.

**Breaking changes**

- Update all `using` directives and fully-qualified type names:
- `FingerprintPro.ServerSdk.*` → `Fingerprint.ServerSdk.*`
- If you reference solution/project file names or CI paths, update them to the new `Fingerprint.ServerSdk.*` locations.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
SECRET_API_KEY=<YOUR_API_KEY>
VISITOR_ID=<YOUR_VISITOR_ID>
REQUEST_ID=<YOUR_REQUEST_ID>
EVENT_ID=<YOUR_EVENT_ID>
UPDATE_EVENT_ID=<YOUR_EVENT_ID>
REGION=<YOUR_REGION> # if different than `us`
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Ref: https://gist.github.com/kmorcinek/2710267
# Download this file using PowerShell v3 under Windows with the following comand
# Invoke-WebRequest https://gist.githubusercontent.com/kmorcinek/2710267/raw/ -OutFile .gitignore
### Project
/bin

### .NET

# User-specific files
*.suo
Expand Down
14 changes: 14 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
git_push.sh
.gitignore
appveyor.yml

src/Fingerprint.ServerSdk/Api/DefaultApi.cs

src/Fingerprint.ServerSdk.Test/Api/DefaultApiTests.cs
src/Fingerprint.ServerSdk.Test/Model/**
src/Fingerprint.ServerSdk.Test/README.md

docs/apis/DefaultApi.md
docs/scripts/**

api/openapi.yaml
93 changes: 93 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Fingerprint.ServerSdk.sln
README.md
docs/DecryptionKey.md
docs/Sealed.md
docs/WebhookValidation.md
docs/apis/FingerprintApi.md
docs/models/BotResult.md
docs/models/BrowserDetails.md
docs/models/Error.md
docs/models/ErrorCode.md
docs/models/ErrorResponse.md
docs/models/Event.md
docs/models/EventSearch.md
docs/models/EventUpdate.md
docs/models/Geolocation.md
docs/models/GeolocationSubdivisionsInner.md
docs/models/IPBlockList.md
docs/models/IPInfo.md
docs/models/IPInfoV4.md
docs/models/IPInfoV6.md
docs/models/Identification.md
docs/models/IdentificationConfidence.md
docs/models/Integration.md
docs/models/IntegrationSubintegration.md
docs/models/Proximity.md
docs/models/ProxyConfidence.md
docs/models/ProxyDetails.md
docs/models/SDK.md
docs/models/SupplementaryIDHighRecall.md
docs/models/TamperingDetails.md
docs/models/TriggeredByInner.md
docs/models/Velocity.md
docs/models/VelocityData.md
docs/models/VpnConfidence.md
docs/models/VpnMethods.md
src/Fingerprint.ServerSdk.Test/Api/DependencyInjectionTests.cs
src/Fingerprint.ServerSdk.Test/Fingerprint.ServerSdk.Test.csproj
src/Fingerprint.ServerSdk/Api/FingerprintApi.cs
src/Fingerprint.ServerSdk/Api/IApi.cs
src/Fingerprint.ServerSdk/Client/ApiException.cs
src/Fingerprint.ServerSdk/Client/ApiFactory.cs
src/Fingerprint.ServerSdk/Client/ApiResponseEventArgs.cs
src/Fingerprint.ServerSdk/Client/ApiResponse`1.cs
src/Fingerprint.ServerSdk/Client/BearerToken.cs
src/Fingerprint.ServerSdk/Client/ClientUtils.cs
src/Fingerprint.ServerSdk/Client/CookieContainer.cs
src/Fingerprint.ServerSdk/Client/DateTimeJsonConverter.cs
src/Fingerprint.ServerSdk/Client/DateTimeNullableJsonConverter.cs
src/Fingerprint.ServerSdk/Client/ExceptionEventArgs.cs
src/Fingerprint.ServerSdk/Client/HostConfiguration.cs
src/Fingerprint.ServerSdk/Client/JsonSerializerOptionsProvider.cs
src/Fingerprint.ServerSdk/Client/Option.cs
src/Fingerprint.ServerSdk/Client/RateLimitProvider`1.cs
src/Fingerprint.ServerSdk/Client/Region.cs
src/Fingerprint.ServerSdk/Client/TokenBase.cs
src/Fingerprint.ServerSdk/Client/TokenContainer`1.cs
src/Fingerprint.ServerSdk/Client/TokenProvider`1.cs
src/Fingerprint.ServerSdk/Extensions/IHostBuilderExtensions.cs
src/Fingerprint.ServerSdk/Extensions/IHttpClientBuilderExtensions.cs
src/Fingerprint.ServerSdk/Extensions/IServiceCollectionExtensions.cs
src/Fingerprint.ServerSdk/Fingerprint.ServerSdk.csproj
src/Fingerprint.ServerSdk/Model/BotResult.cs
src/Fingerprint.ServerSdk/Model/BrowserDetails.cs
src/Fingerprint.ServerSdk/Model/Error.cs
src/Fingerprint.ServerSdk/Model/ErrorCode.cs
src/Fingerprint.ServerSdk/Model/ErrorResponse.cs
src/Fingerprint.ServerSdk/Model/Event.cs
src/Fingerprint.ServerSdk/Model/EventSearch.cs
src/Fingerprint.ServerSdk/Model/EventUpdate.cs
src/Fingerprint.ServerSdk/Model/Geolocation.cs
src/Fingerprint.ServerSdk/Model/GeolocationSubdivisionsInner.cs
src/Fingerprint.ServerSdk/Model/IPBlockList.cs
src/Fingerprint.ServerSdk/Model/IPInfo.cs
src/Fingerprint.ServerSdk/Model/IPInfoV4.cs
src/Fingerprint.ServerSdk/Model/IPInfoV6.cs
src/Fingerprint.ServerSdk/Model/Identification.cs
src/Fingerprint.ServerSdk/Model/IdentificationConfidence.cs
src/Fingerprint.ServerSdk/Model/Integration.cs
src/Fingerprint.ServerSdk/Model/IntegrationSubintegration.cs
src/Fingerprint.ServerSdk/Model/Proximity.cs
src/Fingerprint.ServerSdk/Model/ProxyConfidence.cs
src/Fingerprint.ServerSdk/Model/ProxyDetails.cs
src/Fingerprint.ServerSdk/Model/SDK.cs
src/Fingerprint.ServerSdk/Model/SupplementaryIDHighRecall.cs
src/Fingerprint.ServerSdk/Model/TamperingDetails.cs
src/Fingerprint.ServerSdk/Model/TriggeredByInner.cs
src/Fingerprint.ServerSdk/Model/Velocity.cs
src/Fingerprint.ServerSdk/Model/VelocityData.cs
src/Fingerprint.ServerSdk/Model/VpnConfidence.cs
src/Fingerprint.ServerSdk/Model/VpnMethods.cs
src/Fingerprint.ServerSdk/README.md
src/Fingerprint.ServerSdk/Sealed.cs
src/Fingerprint.ServerSdk/WebhookValidation.cs
1 change: 1 addition & 0 deletions .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.16.0
44 changes: 0 additions & 44 deletions .swagger-codegen-ignore

This file was deleted.

1 change: 0 additions & 1 deletion .swagger-codegen/VERSION

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Fingerprint Server API Dotnet SDK
# Fingerprint Server Dotnet SDK

## 7.9.0

Expand Down
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0

# Copy the project file and restore dependencies
COPY ["fingerprint-pro-server-api-dotnet-sdk.sln", "./"]
COPY ["Fingerprint.ServerSdk.sln", "./"]
# LICENSE is required for building the package
COPY ["LICENSE", "./"]
COPY ["res", "res/"]
COPY ["src/FingerprintPro.ServerSdk/FingerprintPro.ServerSdk.csproj", "src/FingerprintPro.ServerSdk/"]
COPY ["src/FingerprintPro.ServerSdk.Examples/FingerprintPro.ServerSdk.Examples.csproj", "src/FingerprintPro.ServerSdk.Examples/"]
COPY ["src/FingerprintPro.ServerSdk.FunctionalTest/FingerprintPro.ServerSdk.FunctionalTest.csproj", "src/FingerprintPro.ServerSdk.FunctionalTest/"]
COPY ["src/FingerprintPro.ServerSdk.SealedResultExample/FingerprintPro.ServerSdk.SealedResultExample.csproj", "src/FingerprintPro.ServerSdk.SealedResultExample/"]
COPY ["src/FingerprintPro.ServerSdk.Test/FingerprintPro.ServerSdk.Test.csproj", "src/FingerprintPro.ServerSdk.Test/"]
COPY ["src/FingerprintPro.ServerSdk.WebhookExample/FingerprintPro.ServerSdk.WebhookExample.csproj", "src/FingerprintPro.ServerSdk.WebhookExample/"]
COPY ["src/Fingerprint.ServerSdk/Fingerprint.ServerSdk.csproj", "src/Fingerprint.ServerSdk/"]
COPY ["src/Fingerprint.ServerSdk.Examples/Fingerprint.ServerSdk.Examples.csproj", "src/Fingerprint.ServerSdk.Examples/"]
COPY ["src/Fingerprint.ServerSdk.FunctionalTest/Fingerprint.ServerSdk.FunctionalTest.csproj", "src/Fingerprint.ServerSdk.FunctionalTest/"]
COPY ["src/Fingerprint.ServerSdk.SealedResultExample/Fingerprint.ServerSdk.SealedResultExample.csproj", "src/Fingerprint.ServerSdk.SealedResultExample/"]
COPY ["src/Fingerprint.ServerSdk.Test/Fingerprint.ServerSdk.Test.csproj", "src/Fingerprint.ServerSdk.Test/"]
COPY ["src/Fingerprint.ServerSdk.WebhookExample/Fingerprint.ServerSdk.WebhookExample.csproj", "src/Fingerprint.ServerSdk.WebhookExample/"]
RUN dotnet restore
COPY ["./src", "src/"]
CMD ["dotnet", "list", "package"]
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingerprintPro.ServerSdk", "src\FingerprintPro.ServerSdk\FingerprintPro.ServerSdk.csproj", "{DEE4B355-41FC-4B06-92D3-FE21753D84EE}"
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fingerprint.ServerSdk", "src\Fingerprint.ServerSdk\Fingerprint.ServerSdk.csproj", "{DEE4B355-41FC-4B06-92D3-FE21753D84EE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingerprintPro.ServerSdk.Test", "src\FingerprintPro.ServerSdk.Test\FingerprintPro.ServerSdk.Test.csproj", "{A17D53A9-4987-4E7B-BDA9-3A4BE826FF7B}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fingerprint.ServerSdk.Test", "src\Fingerprint.ServerSdk.Test\Fingerprint.ServerSdk.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingerprintPro.ServerSdk.Examples", "src\FingerprintPro.ServerSdk.Examples\FingerprintPro.ServerSdk.Examples.csproj", "{7FBC349E-CE18-4668-BC36-8DF98F9F5E3C}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fingerprint.ServerSdk.Examples", "src\Fingerprint.ServerSdk.Examples\Fingerprint.ServerSdk.Examples.csproj", "{7FBC349E-CE18-4668-BC36-8DF98F9F5E3C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingerprintPro.ServerSdk.FunctionalTest", "src\FingerprintPro.ServerSdk.FunctionalTest\FingerprintPro.ServerSdk.FunctionalTest.csproj", "{60A3F0A3-764A-43CA-9BDD-E2A727F86347}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fingerprint.ServerSdk.FunctionalTest", "src\Fingerprint.ServerSdk.FunctionalTest\Fingerprint.ServerSdk.FunctionalTest.csproj", "{60A3F0A3-764A-43CA-9BDD-E2A727F86347}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingerprintPro.ServerSdk.SealedResultExample", "src\FingerprintPro.ServerSdk.SealedResultExample\FingerprintPro.ServerSdk.SealedResultExample.csproj", "{68302477-4772-4F13-B569-54881B84F6B4}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fingerprint.ServerSdk.SealedResultExample", "src\Fingerprint.ServerSdk.SealedResultExample\Fingerprint.ServerSdk.SealedResultExample.csproj", "{68302477-4772-4F13-B569-54881B84F6B4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingerprintPro.ServerSdk.WebhookExample", "src\FingerprintPro.ServerSdk.WebhookExample\FingerprintPro.ServerSdk.WebhookExample.csproj", "{F95774AB-BC02-45AE-8916-0EFF0689E89F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fingerprint.ServerSdk.WebhookExample", "src\Fingerprint.ServerSdk.WebhookExample\Fingerprint.ServerSdk.WebhookExample.csproj", "{F95774AB-BC02-45AE-8916-0EFF0689E89F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -23,10 +24,10 @@ Global
{DEE4B355-41FC-4B06-92D3-FE21753D84EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DEE4B355-41FC-4B06-92D3-FE21753D84EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DEE4B355-41FC-4B06-92D3-FE21753D84EE}.Release|Any CPU.Build.0 = Release|Any CPU
{A17D53A9-4987-4E7B-BDA9-3A4BE826FF7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A17D53A9-4987-4E7B-BDA9-3A4BE826FF7B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A17D53A9-4987-4E7B-BDA9-3A4BE826FF7B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A17D53A9-4987-4E7B-BDA9-3A4BE826FF7B}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.Build.0 = Release|Any CPU
{7FBC349E-CE18-4668-BC36-8DF98F9F5E3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7FBC349E-CE18-4668-BC36-8DF98F9F5E3C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7FBC349E-CE18-4668-BC36-8DF98F9F5E3C}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -44,9 +45,12 @@ Global
{F95774AB-BC02-45AE-8916-0EFF0689E89F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F95774AB-BC02-45AE-8916-0EFF0689E89F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
GlobalSection(MonoDevelopProperties) = preSolution
Policies = $0
$0.DotNetNamingPolicy = $1
$1.DirectoryNamespaceAssociation = PrefixedHierarchical
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
EndGlobal
Loading
Loading