Skip to content

davidsulpy/authy-net-client

Repository files navigation

Authy .NET Client

NuGet version

C# .Net Client for using Authy's API

Installation

NuGet

This package is available via NuGet as authy-net-client.

> Install-Package authy-net-client

Example usage

The library is intended to be super easy to use and friendly with IoC frameworks.

Instantiating a client

IAuthyApiClient client = new AuthyApiClient("someapikey", testMode:false);

Creating an Authy User

string authyUserId = client.CreateAuthyUser("[email protected]", "555-555-5555");

Verify a user provided token

bool isValid = client.VerifyUserToken(authyUserId, someToken);

Testing

This package contains mspec specs that outline happy-paths and edgecases. They are intended to read like behaviors and should be a good way to reference how to use the library as well.

Contributing

This library is open for contribution here are the steps to contrubte:

  1. Fork Repo
  2. Add specs for changes
  3. Make changes
  4. Ensure passing specs
  5. Create pull request
  6. Grab beverage

About

.Net Client for using Authy's API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages