public RocketChatAuthenticator(IHttpClientFactory httpClientFactory, IRocketChatAuthenticationStore rocketChatAuthenticationStore, IRocketChatClientOptionsProvider rocketChatClientOptionsProvider, IRocketChatPresenceService rocketChatPresenceService) { HttpClientFactory = httpClientFactory; AuthenticationStore = rocketChatAuthenticationStore; ClientOptionsProvider = rocketChatClientOptionsProvider; PresenceService = rocketChatPresenceService; tokenCache = new Dictionary <string, RocketChatClientAuthentication>(); }
public RocketChatAuthenticationStore(IRocketChatPresenceService rocketChatPresenceService) { authenticationMap = new Dictionary <string, RocketChatClientAuthentication>(); PresenceService = rocketChatPresenceService; }