SquareWidget.HMAC.Client.Core 2.1.0

HttpClient base class for HMAC authentication in ASP.NET Core 2.1

There is a newer version of this package available.
See the version list below for details.
Install-Package SquareWidget.HMAC.Client.Core -Version 2.1.0
dotnet add package SquareWidget.HMAC.Client.Core --version 2.1.0
<PackageReference Include="SquareWidget.HMAC.Client.Core" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SquareWidget.HMAC.Client.Core --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

SquareWidget.HMAC.Client.Core

HttpClient base class for HMAC authentication in ASP.NET Core 2.1

Status

TODO

Prerequisites

ASP.NET Core 2.1

Getting Started

See the documentation for usage. Download the NuGet package in your ASP.NET Core 2.1 client.

var baseUri = "https://localhost:44320";
var credentials = new ClientCredentials
{
    ClientId = "testClient",
    ClientSecret = "P@ssw0rd"
};

var requestUri = "api/widgets/1";
using (var client = new HmacHttpClient(baseUri, credentials))
{
    var widget = client.Get<Widget>(requestUri).Result;
    // do something with widget ID 1...
}

Server Side

Use SquareWidget.HMAC.Server.Core package. See the documentation.

Versioning

Version 2.1.0 targeting ASP.NET Core 2.1

Authors

James Still

License

None

SquareWidget.HMAC.Client.Core

HttpClient base class for HMAC authentication in ASP.NET Core 2.1

Status

TODO

Prerequisites

ASP.NET Core 2.1

Getting Started

See the documentation for usage. Download the NuGet package in your ASP.NET Core 2.1 client.

var baseUri = "https://localhost:44320";
var credentials = new ClientCredentials
{
    ClientId = "testClient",
    ClientSecret = "P@ssw0rd"
};

var requestUri = "api/widgets/1";
using (var client = new HmacHttpClient(baseUri, credentials))
{
    var widget = client.Get<Widget>(requestUri).Result;
    // do something with widget ID 1...
}

Server Side

Use SquareWidget.HMAC.Server.Core package. See the documentation.

Versioning

Version 2.1.0 targeting ASP.NET Core 2.1

Authors

James Still

License

None

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.1 187 6/20/2019
2.1.0 347 12/8/2018