C# Class ConstantContactUtility.AuthenticationData

Class used to store API Key, username and password for the Constant Contact REST API
Mostrar archivo Open project: constantcontact/Constant-Contact-Dot-Net-ASP-Campaign-Forms Class Usage Examples

Public Methods

Method Description
AuthenticationData ( ) : System

Default constructor

AuthenticationData ( string APIKey, string username, string password ) : System

Constructor

Private Methods

Method Description
UpdateAccountUrIs ( ) : void

Update the account Base URI

UpdateAccountUserName ( ) : void

Update the account user name used to build the network credentials. Combination of API and Username: {API Key}%{Username}

Method Details

AuthenticationData() public method

Default constructor
public AuthenticationData ( ) : System
return System

AuthenticationData() public method

Constructor
public AuthenticationData ( string APIKey, string username, string password ) : System
APIKey string API Application Key and is used to identify the application making an API request
username string Constant Contact Customer's user name
password string Constant Contact Customer's password
return System