webdav portal password reset added
This commit is contained in:
parent
4bae47e17f
commit
599e9a8865
48 changed files with 1163 additions and 117 deletions
|
@ -12,6 +12,7 @@ namespace WebsitePanel.WebDav.Core.Config.WebConfigSections
|
|||
public const string WebDavManagerKey = "WebDavManagerSessionKey";
|
||||
public const string UserGroupsKey = "UserGroupsKey";
|
||||
public const string WebDavRootFolderPermissionsKey = "WebDavRootFolderPermissionsKey";
|
||||
public const string PassswordResetSmsKey = "PassswordResetSmsKey";
|
||||
public const string ResourseRenderCountKey = "ResourseRenderCountSessionKey";
|
||||
public const string ItemIdSessionKey = "ItemId";
|
||||
public const string OwaEditFoldersSessionKey = "OwaEditFoldersSession";
|
||||
|
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -20,6 +20,7 @@ namespace WebsitePanel.WebDavPortal.WebConfigSections
|
|||
private const string OfficeOnlineKey = "officeOnline";
|
||||
private const string FilesToIgnoreKey = "filesToIgnore";
|
||||
private const string TypeOpenerKey = "typeOpener";
|
||||
private const string TwilioKey = "twilio";
|
||||
|
||||
public const string SectionName = "webDavExplorerConfigurationSettings";
|
||||
|
||||
|
@ -65,6 +66,13 @@ namespace WebsitePanel.WebDavPortal.WebConfigSections
|
|||
set { this[WebsitePanelConstantUserKey] = value; }
|
||||
}
|
||||
|
||||
[ConfigurationProperty(TwilioKey, IsRequired = true)]
|
||||
public TwilioElement Twilio
|
||||
{
|
||||
get { return (TwilioElement)this[TwilioKey]; }
|
||||
set { this[TwilioKey] = value; }
|
||||
}
|
||||
|
||||
[ConfigurationProperty(ElementsRenderingKey, IsRequired = true)]
|
||||
public ElementsRenderingElement ElementsRendering
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue