Authy .NET Client
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("name@example.com", "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:
- Fork Repo
- Add specs for changes
- Make changes
- Ensure passing specs
- Create pull request
- Grab beverage