Esempio n. 1
0
 public AuthenticationManager(
     IConnectionManager connectionManager,
     ITokenClient tokenClient,
     ILogger <AuthenticationManager> logger)
 {
     this.connectionManager         = connectionManager;
     this.tokenClient               = tokenClient;
     this.logger                    = logger;
     this.saveFolder                = PlatformUtilities.AppDataFolder();
     this.saveAuthenticatedUserFile = Path.Combine(this.saveFolder, "authenticated-user.json");
 }
Esempio n. 2
0
 public ConnectionManager()
 {
     this.saveFolder         = PlatformUtilities.AppDataFolder();
     this.saveConnectionFile = Path.Combine(this.saveFolder, "connection.json");
 }