Yoti.Sandbox
1.6.1
Install-Package Yoti.Sandbox -Version 1.6.1
dotnet add package Yoti.Sandbox --version 1.6.1
<PackageReference Include="Yoti.Sandbox" Version="1.6.1" />
paket add Yoti.Sandbox --version 1.6.1
#r "nuget: Yoti.Sandbox, 1.6.1"
// Install Yoti.Sandbox as a Cake Addin
#addin nuget:?package=Yoti.Sandbox&version=1.6.1
// Install Yoti.Sandbox as a Cake Tool
#tool nuget:?package=Yoti.Sandbox&version=1.6.1
Yoti .NET Sandbox SDK
Welcome to the Yoti .NET Sandbox. This repo contains the tools you need to test your .NET back-end integration, alongside installation of the Yoti .NET SDK.
Sandbox Supported Frameworks
- .NET Standard 2.1
- .NET Core App 3.1
- .NET 4.8
Please email clientsupport@yoti.com if you require a Target Framework which is not listed here.
Installing the Sandbox
To install the Yoti Sandbox NuGet package you will need to install NuGet. You can find instructions to do that here
To import the latest Yoti SDK into your project, enter the following command from NuGet Package Manager Console in Visual Studio:
Install-Package Yoti.Sandbox
For other installation methods, see nuget.org/packages/Yoti.Sandbox
Configuration
To initialise the SandboxClient
, using either the Profile or DocScan SandboxClientBuilder
(see examples in section below), you will need the following:
ClientSdkId
is the SDK identifier generated by Yoti Hub in the Key tab when you create your app.KeyPair
is the keyPair object of your private key (.pem file). It can be downloaded only once from the Keys tab in your Yoti Hub.
Please do not open the pem file as this might corrupt the key and you will need to create a new application.
Code Examples
In the examples folder there are snippets for:
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.1 |
.NET Framework | net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETCoreApp 3.1
- Newtonsoft.Json (>= 13.0.1)
- Yoti (>= 3.9.0)
-
.NETFramework 4.8
- Newtonsoft.Json (>= 13.0.1)
- Yoti (>= 3.9.0)
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.1)
- Yoti (>= 3.9.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.