public AuthServiceHubIm(IServiceHubProvider serviceBackend, IUserNameMapper userMapper, ISecurityRepository securityRepo) : base(serviceBackend) { this.userMapper = userMapper; this.securityRepo = securityRepo; }
/// <summary> /// Initializes a new instance of the ServiceSecurityValidator class /// </summary> /// <param name="factory">the pluginfactory that provides objects that may be accessed by clients</param> /// <param name="securityRepo">a WebCoreToolkit-Security Repository holding users and roles</param> /// <param name="nameMapper">a User-Mapper that is used to extract the permissions of the provided user</param> public ServiceSecurityValidator(PluginFactory factory, ISecurityRepository securityRepo, IUserNameMapper nameMapper) : base(factory) { this.securityRepo = securityRepo; this.nameMapper = nameMapper; }