public void Initialization(string token) { Log.DebugFormat("[Pilot.Initialization] starting for token = {0}", token); CrestData = new CrestAuthorization(token); dynamic data = CrestData.ObtainingCharacterData(); Id = data.CharacterID; Name = data.CharacterName; LoadLocationInfo(); LoadCharacterInfo(); LastTokenUpdate = DateTime.Now; }
public void Initialization(string token) { Log.DebugFormat("[Pilot.Initialization] starting for token = {0}", token); CrestData = new CrestAuthorization(token, Global.Settings.CCPSSO_AUTH_CLIENT_ID, Global.Settings.CCPSSO_AUTH_CLIENT_SECRET); RefreshToken = CrestData.RefreshToken; dynamic data = CrestData.ObtainingCharacterData(); Id = data.CharacterID; Name = data.CharacterName; LoadLocationInfo(); LoadCharacterInfo(); _lastTokenUpdate = DateTime.Now; }