upd Authentification
This commit is contained in:
@@ -72,5 +72,96 @@ namespace SvetoforVKBot.App_Start
|
||||
this["groupdialoglink"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[ConfigurationProperty("host", IsRequired = true, DefaultValue = "")]
|
||||
public string Host
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)this["host"];
|
||||
}
|
||||
set
|
||||
{
|
||||
this["host"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[ConfigurationProperty("port", IsRequired = true, DefaultValue = "0")]
|
||||
public int Port
|
||||
{
|
||||
get
|
||||
{
|
||||
return (int)this["port"];
|
||||
}
|
||||
set
|
||||
{
|
||||
this["port"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[ConfigurationProperty("userName", IsRequired = true, DefaultValue = "")]
|
||||
public string UserName
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)this["userName"];
|
||||
}
|
||||
set
|
||||
{
|
||||
this["userName"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[ConfigurationProperty("password", IsRequired = true, DefaultValue = "")]
|
||||
public string Password
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)this["password"];
|
||||
}
|
||||
set
|
||||
{
|
||||
this["password"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[ConfigurationProperty("sso", IsRequired = true, DefaultValue = "1")]
|
||||
public int SSO
|
||||
{
|
||||
get
|
||||
{
|
||||
return (int)this["sso"];
|
||||
}
|
||||
set
|
||||
{
|
||||
this["sso"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[ConfigurationProperty("email", IsRequired = true, DefaultValue = "")]
|
||||
public string Email
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)this["email"];
|
||||
}
|
||||
set
|
||||
{
|
||||
this["email"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[ConfigurationProperty("fromName", IsRequired = true, DefaultValue = "")]
|
||||
public string FromName
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)this["fromName"];
|
||||
}
|
||||
set
|
||||
{
|
||||
this["fromName"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user