private static MilouAuthenticationConfiguration CreateMilouAuthenticationConfiguration() { using var hmac = new HMACSHA256(); byte[] keyBytes = hmac.Key; string key = Convert.ToBase64String(keyBytes); var milouAuthenticationConfiguration = new MilouAuthenticationConfiguration(true, true, key); return(milouAuthenticationConfiguration); }
public AgentConfigurationHelper(EnvironmentConfiguration environmentConfiguration, MilouAuthenticationConfiguration authenticationConfiguration) { _environmentConfiguration = environmentConfiguration; _authenticationConfiguration = authenticationConfiguration; }