예제 #1
0
        public void AddAuthMount(string mount, IAuthBackend backend)
        {
            if (_authReservedMounts.Exists(mount))
            {
                throw new InvalidOperationException("RESERVED");
            }

            throw new NotImplementedException();
        }
예제 #2
0
 public ChatService(
     IAuth auth,
     IAuthBackend authBackend,
     IForismaticClient forismaticClient,
     IServiceProvider services,
     ILogger <ChatService>?log = null)
     : base(services)
 {
     _log              = log ??= NullLogger <ChatService> .Instance;
     _auth             = auth;
     _authBackend      = authBackend;
     _forismaticClient = forismaticClient;
 }