blob: 90f8e9e30d62d4e3e4f28d011516f0c9759713de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
namespace MxApiExtensions.Services;
/// <summary>
/// Configuration for ModAS.
/// </summary>
public class ModASConfiguration {
public ModASConfiguration(IConfiguration configuration) {
configuration.GetRequiredSection("ModAS").Bind(this);
}
public string ServerName { get; set; }
public string HomeserverUrl { get; set; }
public Dictionary<string, List<string>> Roles { get; set; }
}
|