Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.32 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.32 KB

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