C# Class ACMESharp.Providers.CloudFlare.CloudFlareHelper

Helper class to interface with the CloudFlare API endpoint.
See https://api.cloudflare.com/#getting-started-endpoints for more details.
Show file Open project: ebekker/ACMESharp Class Usage Examples

Public Methods

Method Description
AddOrUpdateDnsRecord ( string name, string value ) : void
CloudFlareHelper ( string authKey, string emailAddress, string domainName ) : System
DeleteDnsRecord ( string name ) : void

Private Methods

Method Description
AddDnsRecord ( string zoneId, string name, string value ) : void
CreateRequest ( HttpMethod method, string url ) : HttpRequestMessage
GetDnsRecords ( string zoneId ) : List
GetZoneId ( ) : string
UpdateDnsRecord ( string zoneId, DnsRecord record, string value ) : void

Method Details

AddOrUpdateDnsRecord() public method

public AddOrUpdateDnsRecord ( string name, string value ) : void
name string
value string
return void

CloudFlareHelper() public method

public CloudFlareHelper ( string authKey, string emailAddress, string domainName ) : System
authKey string
emailAddress string
domainName string
return System

DeleteDnsRecord() public method

public DeleteDnsRecord ( string name ) : void
name string
return void