public void WhenUserStartsClient() { var config = ChallengeSessionConfig.ForJourneyId(journeyId) .WithServerHostname(challengeHostname) .WithPort(port) .WithColours(true) .WithAuditStream(auditStream) .WithRecordingSystemShouldBeOn(true); ChallengeSession.ForRunner(implementationRunner) .WithConfig(config) .WithActionProvider(actionProviderCallback) .Start(); }
public static ChallengeSessionConfig GetConfig() => ChallengeSessionConfig .ForJourneyId(CredentialsConfigFile.Get("tdl_journey_id")) .WithServerHostname(CredentialsConfigFile.Get("tdl_hostname")) .WithColours(CredentialsConfigFile.Get("tdl_use_coloured_output", true)) .WithRecordingSystemShouldBeOn(CredentialsConfigFile.Get("tdl_require_rec", true));