Exemple #1
0
 public ChatService(
     IServerSideAuthService authService,
     IForismaticClient forismaticClient,
     IServiceProvider services,
     ILogger <ChatService>?log = null)
     : base(services)
 {
     _log              = log ??= NullLogger <ChatService> .Instance;
     _authService      = authService;
     _forismaticClient = forismaticClient;
 }
        public ServerAuthHelper(
            Options?options,
            IServerSideAuthService authService,
            ISessionResolver sessionResolver,
            AuthSchemasCache authSchemasCache)
        {
            options ??= new();
            IdClaimKeys            = options.IdClaimKeys;
            NameClaimKeys          = options.NameClaimKeys;
            CloseWindowRequestPath = options.CloseWindowRequestPath;

            AuthService      = authService;
            SessionResolver  = sessionResolver;
            AuthSchemasCache = authSchemasCache;
        }
 public AuthSyncService(IServerSideAuthService authService)
 => AuthService = authService;
 public TodoService(IKeyValueStore keyValueStore, IServerSideAuthService auth)
 {
     _keyValueStore = keyValueStore;
     _auth          = auth;
 }