// Copy constructor public TokenManager(TokenManager tm) { //m_TokenDatabase = new List<AuthenticationToken>(tm.m_TokenDatabase); m_CheckExpirationThread = new Thread(new ThreadStart(this.CheckExpiration)); m_CheckExpirationThread.Start(); while (!m_CheckExpirationThread.IsAlive) ; }
/// <summary> /// constructor /// </summary> public AuthManager() { m_File = new CredentialFile(); m_TokenMgr = new TokenManager(); }