SimpleSOAPClient.BinarySecurityToken
1.0.2-alpha
This is a prerelease version of SimpleSOAPClient.BinarySecurityToken.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SimpleSOAPClient.BinarySecurityToken --version 1.0.2-alpha
NuGet\Install-Package SimpleSOAPClient.BinarySecurityToken -Version 1.0.2-alpha
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="SimpleSOAPClient.BinarySecurityToken" Version="1.0.2-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleSOAPClient.BinarySecurityToken --version 1.0.2-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SimpleSOAPClient.BinarySecurityToken, 1.0.2-alpha"
#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 SimpleSOAPClient.BinarySecurityToken as a Cake Addin #addin nuget:?package=SimpleSOAPClient.BinarySecurityToken&version=1.0.2-alpha&prerelease // Install SimpleSOAPClient.BinarySecurityToken as a Cake Tool #tool nuget:?package=SimpleSOAPClient.BinarySecurityToken&version=1.0.2-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Extension to SimpleSOAPClient that allows BinarySecurityToken authorization
Disclaimer This package is not fully functional yet. It not configurabe, It's API may change. For now it just works for me.
Usage
var certificatePath = "PATH_TO_PFX_OR_P12_FILE";
var certificateData = File.ReadAllBytes(certificatePath);
var certificate = new X509Certificate2(certificateData, "password");
using (var client = SoapClient.Prepare())
{
client.WithBinarySecurityTokenHeader(certificate);
var envelope = SoapEnvelope
.Prepare()
.Body(new SampleRequest());
var soapResponse = await client.SendAsync("https://some-server.org", "action", )
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. 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.0
- SimpleSOAPClient (>= 2.0.0-rc04)
- System.Security.Cryptography.Xml (>= 4.5.0-preview1-26216-02)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SimpleSOAPClient.BinarySecurityToken:
Package | Downloads |
---|---|
ProfilZaufany
Biblioteka ułatwiająca integrację z Profilem zaufanym |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.4-alpha | 2,634 | 4/8/2018 |
1.0.3-alpha | 943 | 4/8/2018 |
1.0.2-alpha | 774 | 4/5/2018 |
1.0.1 | 3,649 | 4/5/2018 |
1.0.0 | 1,122 | 1/17/2018 |