DuoSecurity.Auth.Http 1.0.0-beta

A .NET HttpClient wrapper for interacting with the Duo Security Auth REST API.

This is a prerelease version of DuoSecurity.Auth.Http.
There is a newer version of this package available.
See the version list below for details.
Install-Package DuoSecurity.Auth.Http -Version 1.0.0-beta
dotnet add package DuoSecurity.Auth.Http --version 1.0.0-beta
<PackageReference Include="DuoSecurity.Auth.Http" Version="1.0.0-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DuoSecurity.Auth.Http --version 1.0.0-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DuoSecurity.Auth.Http, 1.0.0-beta"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

DuoSecurity.Auth.Http

A .NET HttpClient wrapper for interacting with the Duo Security Auth REST API.

Installation

NuGet PM> Install-Package DuoSecurity.Auth.Http

Usage

Client Setup

using DuoSecurity.Auth.Http;

// Provide Config
var config = new DuoAuthConfig("api-XXXXXXXX.duosecurity.com", "integrationKey", "secretKey");

// Instantiate Client
var client = new DuoAuthClient(config);

All Endpoints Are Supported

Endpoint Method
/ping PingAsync
/check CheckAsync
/logo LogoAsync
/enroll EnrollAsync
/enroll_status EnrollStatusAsync
/preauth PreAuthBy{UserKey}Async
/auth Auth{Factor}By{UserKey}Async
/auth (async) Auth{Factor}By{UserKey}ForPollingAsync
/auth_status AuthStatusAsync

{UserKey} can be substituted for UserId or Username.

{Factor} can be substituted for one of the follow: Auto, Push, Passcode , Phone, or SMS.

DuoSecurity.Auth.Http

A .NET HttpClient wrapper for interacting with the Duo Security Auth REST API.

Installation

NuGet PM> Install-Package DuoSecurity.Auth.Http

Usage

Client Setup

using DuoSecurity.Auth.Http;

// Provide Config
var config = new DuoAuthConfig("api-XXXXXXXX.duosecurity.com", "integrationKey", "secretKey");

// Instantiate Client
var client = new DuoAuthClient(config);

All Endpoints Are Supported

Endpoint Method
/ping PingAsync
/check CheckAsync
/logo LogoAsync
/enroll EnrollAsync
/enroll_status EnrollStatusAsync
/preauth PreAuthBy{UserKey}Async
/auth Auth{Factor}By{UserKey}Async
/auth (async) Auth{Factor}By{UserKey}ForPollingAsync
/auth_status AuthStatusAsync

{UserKey} can be substituted for UserId or Username.

{Factor} can be substituted for one of the follow: Auto, Push, Passcode , Phone, or SMS.

Release Notes

Initial Publish - Pre-release.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 37 3/2/2021
1.0.1-beta 421 7/14/2019
1.0.0 468 8/17/2020
1.0.0-beta 1,291 6/22/2018