dotnet add package Twilio.Authy.WebHookHelper --version 1.0.0
NuGet\Install-Package Twilio.Authy.WebHookHelper -Version 1.0.0
<PackageReference Include="Twilio.Authy.WebHookHelper" Version="1.0.0" />
paket add Twilio.Authy.WebHookHelper --version 1.0.0
#r "nuget: Twilio.Authy.WebHookHelper, 1.0.0"
// Install Twilio.Authy.WebHookHelper as a Cake Addin #addin nuget:?package=Twilio.Authy.WebHookHelper&version=1.0.0 // Install Twilio.Authy.WebHookHelper as a Cake Tool #tool nuget:?package=Twilio.Authy.WebHookHelper&version=1.0.0
This repo demonstrates how to Create, List, Delete Authy webhooks. You can set a webhook to be called after a publically visible event (listed below). Webhooks use a POST when responding. This code also demonstrates how to sign a request and verify the signature in a response.
Official documentation may be found here: https://www.twilio.com/docs/api/authy/authy-webhooks-api
- Install nuget package or clone this repository and add refference of AuthyWebhook project.
- Browse to the application you want to use in the twilio.com/console where (once enabled) you should now see:
- App API Key
- Your Access Key
- API Signing Key
- Authy API Key
- Create authy object of AuthyConfiguration with you api key, access key and signin key.
var authyConfiguration = new AuthyConfiguration("API_KEY", "ACCESS_KEY", "SIGNIN_KEY");
- Create object of AuthyWebHookHelper.
Public Webhook Events
You can trigger webhooks using the following events. You can use multiple events in a single webhook.
Use string or ResponseList as the value of T
Create a Webhook
use string or Response as value of T
var webHook = new WebHook("one_touch_request_responded", Constants.Events.ONE_TOUCH_REQUEST_RESPONDED, "https://example/api/webhooked"); var result = authyWebHookHelper.Create<T>(webHook);
Deleting a Webhook
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- Newtonsoft.Json (>= 12.0.2)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.