public string login(bool useVirtualDevice, string pinCode, int credID, int groupID, int proverID, int securityLevel) { LoginComposite loginParam = new LoginComposite(useVirtualDevice, pinCode, credID, groupID, proverID); SessionData sData = new SessionData(loginParam, SessionData.generateSessionKey(), securityLevel); sessionDB.TryAdd(sData.sessionID, sData); return(sData.sessionID); }
public string login(bool useVirtualDevice, string pinCode, int credID, int groupID, int proverID, int securityLevel) { LoginComposite loginParam = new LoginComposite(useVirtualDevice, pinCode, credID, groupID, proverID); SessionData sData = new SessionData(loginParam, SessionData.generateSessionKey(), securityLevel); sessionDB.TryAdd(sData.sessionID, sData); return sData.sessionID; }