Twilio.Authy.WebHookHelper 1.0.0

dotnet add package Twilio.Authy.WebHookHelper --version 1.0.0                
NuGet\Install-Package Twilio.Authy.WebHookHelper -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Twilio.Authy.WebHookHelper" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Twilio.Authy.WebHookHelper --version 1.0.0                
#r "nuget: Twilio.Authy.WebHookHelper, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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                

Twilio.Authy.WebHookHelper

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

Setup Environment

  1. Install nuget package or clone this repository and add refference of AuthyWebhook project.
  2. 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
  3. Create authy object of AuthyConfiguration with you api key, access key and signin key.
 var authyConfiguration = new AuthyConfiguration("API_KEY", "ACCESS_KEY", "SIGNIN_KEY"); 
  1. Create object of AuthyWebHookHelper.
new AuthyWebHookHelper(authyConfiguration);

Public Webhook Events

You can trigger webhooks using the following events. You can use multiple events in a single webhook.

  • account_recovery_approved
  • account_recovery_canceled
  • account_recovery_started
  • custom_message_not_allowed
  • device_registration_completed
  • one_touch_request_responded
  • phone_change_canceled
  • phone_change_pin_sent
  • phone_change_requested
  • phone_verification_code_is_invalid
  • phone_verification_code_is_valid
  • phone_verification_failed
  • phone_verification_not_found
  • phone_verification_started
  • suspended_account
  • token_invalid
  • token_verified
  • too_many_code_verifications
  • too_many_phone_verifications
  • totp_token_sent
  • user_added
  • user_phone_changed
  • user_removed

Listing Webhooks

Use string or ResponseList as the value of T

authyWebHookHelper.Get<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

authyWebHookHelper.Delete("WEB_HOOK_ID"); 
Product 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-browser 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 1,156 4/28/2019