TrueLayer.Signing
0.1.6
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package TrueLayer.Signing --version 0.1.6
NuGet\Install-Package TrueLayer.Signing -Version 0.1.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TrueLayer.Signing" Version="0.1.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TrueLayer.Signing --version 0.1.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TrueLayer.Signing, 0.1.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TrueLayer.Signing as a Cake Addin
#addin nuget:?package=TrueLayer.Signing&version=0.1.6
// Install TrueLayer.Signing as a Cake Tool
#tool nuget:?package=TrueLayer.Signing&version=0.1.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
C# library to produce & verify TrueLayer API requests signatures.
using TrueLayer.Signing;
// `Tl-Signature` value to send with the request.
var tlSignature = Signer.SignWithPem(kid, privateKey)
.Method("POST")
.Path(path)
.Header("Idempotency-Key", idempotency_key)
.Body(body)
.Sign();
Verifying webhooks
The VerifyWithJwks
function may be used to verify webhook Tl-Signature
header signatures.
// `jku` field is included in webhook signatures
var jku = Verifier.ExtractJku(webhookSignature);
// check `jku` is an allowed TrueLayer url & fetch jwks JSON (not provided by this lib)
EnsureJkuAllowed(jku);
var jwks = FetchJwks(jku);
// jwks may be used directly to verify a signature
// a SignatureException is thrown is verification fails
Verifier.VerifyWithJwks(jwks)
.Method("POST")
.Path(path)
.Headers(allWebhookHeaders)
.Body(body)
.Verify(webhookSignature);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- jose-jwt (>= 3.2.0)
- System.Text.Encodings.Web (>= 5.0.1)
-
net5.0
- jose-jwt (>= 3.2.0)
- System.Text.Encodings.Web (>= 5.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TrueLayer.Signing:
Package | Downloads |
---|---|
TrueLayer.Client
.NET client for the TrueLayer API |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.15-rc3 | 65 | 4/26/2024 |
0.1.15-rc2 | 65 | 4/15/2024 |
0.1.14 | 1,259 | 2/20/2024 |
0.1.13 | 15,487 | 12/19/2022 |
0.1.12 | 1,023 | 8/26/2022 |
0.1.11 | 9,315 | 8/17/2022 |
0.1.10 | 448 | 7/11/2022 |
0.1.9 | 3,799 | 4/22/2022 |
0.1.8 | 440 | 4/12/2022 |
0.1.7 | 406 | 4/12/2022 |
0.1.6 | 1,877 | 3/21/2022 |
0.1.5 | 587 | 2/16/2022 |
0.1.4 | 766 | 12/6/2021 |
0.1.3 | 249 | 12/6/2021 |
0.1.2 | 408 | 11/5/2021 |
0.1.1 | 308 | 11/1/2021 |
0.1.0 | 539 | 10/28/2021 |