Skip to content
Snippets Groups Projects

Feature/651 outsource crypto

Closed Klaus Fischer requested to merge feature/651-outsource-crypto into main
6 files
+ 94
3
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 16
0
@@ -22,4 +22,20 @@ public static class SenderDemo {
.WithData("{\"message\":\"Hello World\"}")
.Submit();
}
public static void RunEncrypted(IConfigurationRoot config, ILogger logger) {
var clientId = config["FitConnect:Sender:ClientId"];
var clientSecret = config["FitConnect:Sender:ClientSecret"];
var destinationId = config["FitConnect:Sender:DestinationId"];
var leikaKey = config["FitConnect:Sender:LeikaKey"];
Client
.GetSender(FitConnectEnvironment.Testing, clientId, clientSecret, logger)
.WithDestination(destinationId)
.WithServiceType("FIT Connect Demo", leikaKey)
.WithEncryptedAttachments(new Dictionary<string, string>())
.WithEncryptedMetaData("")
.WithEncryptedData("")
.Submit();
}
}
Loading