C# Class Braintree.WebhookNotificationGateway

Inheritance: IWebhookNotificationGateway
Mostrar archivo Open project: braintree/braintree_dotnet

Public Methods

Method Description
Parse ( string signature, string payload ) : Braintree.WebhookNotification
Verify ( string challenge ) : string

Protected Methods

Method Description
WebhookNotificationGateway ( BraintreeGateway gateway ) : Braintree.Exceptions

Private Methods

Method Description
PayloadMatches ( string signature, string payload ) : bool
ValidateSignature ( string signature, string payload ) : void

Method Details

Parse() public method

public Parse ( string signature, string payload ) : Braintree.WebhookNotification
signature string
payload string
return Braintree.WebhookNotification

Verify() public method

public Verify ( string challenge ) : string
challenge string
return string

WebhookNotificationGateway() protected method

protected WebhookNotificationGateway ( BraintreeGateway gateway ) : Braintree.Exceptions
gateway BraintreeGateway
return Braintree.Exceptions