webdav portal password reset added

This commit is contained in:
vfedosevich 2015-04-14 00:40:11 -07:00
parent 4bae47e17f
commit 599e9a8865
48 changed files with 1163 additions and 117 deletions

View file

@ -0,0 +1,32 @@
using System.Configuration;
namespace WebsitePanel.WebDav.Core.Config.WebConfigSections
{
public class TwilioElement : ConfigurationElement
{
private const string AccountSidPropName = "accountSid";
private const string AuthorizationTokenPropName = "authorizationToken";
private const string PhoneFromPropName = "phoneFrom";
[ConfigurationProperty(AccountSidPropName, IsKey = true, IsRequired = true)]
public string AccountSid
{
get { return this[AccountSidPropName].ToString(); }
set { this[AccountSidPropName] = value; }
}
[ConfigurationProperty(AuthorizationTokenPropName, IsKey = true, IsRequired = true)]
public string AuthorizationToken
{
get { return this[AuthorizationTokenPropName].ToString(); }
set { this[AuthorizationTokenPropName] = value; }
}
[ConfigurationProperty(PhoneFromPropName, IsKey = true, IsRequired = true)]
public string PhoneFrom
{
get { return this[PhoneFromPropName].ToString(); }
set { this[PhoneFromPropName] = value; }
}
}
}