aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce.Client
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2021-03-31 19:20:06 +0200
committerivarlovlie <git@ivarlovlie.no>2021-03-31 19:20:06 +0200
commitef72f8f3fe5a4399423d921edd1c182d663201aa (patch)
tree26412e62451bb0eeb0d7bb5e84d54480bdcd0900 /src/IOL.VippsEcommerce.Client
parentb2a3877a45241dbce595f3c31ec59bd7f8c1e692 (diff)
downloaddotnet-vipps-ecommerce-ef72f8f3fe5a4399423d921edd1c182d663201aa.tar.xz
dotnet-vipps-ecommerce-ef72f8f3fe5a4399423d921edd1c182d663201aa.zip
Only store value in variable, when needing it more than ones (in DEBUG)
Diffstat (limited to 'src/IOL.VippsEcommerce.Client')
-rw-r--r--src/IOL.VippsEcommerce.Client/Program.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IOL.VippsEcommerce.Client/Program.cs b/src/IOL.VippsEcommerce.Client/Program.cs
index a4faccc..839edfe 100644
--- a/src/IOL.VippsEcommerce.Client/Program.cs
+++ b/src/IOL.VippsEcommerce.Client/Program.cs
@@ -9,6 +9,8 @@ services.AddVippsEcommerceService(o => {
o.PrimarySubscriptionKey = "";
o.ClientSecret = "";
o.ClientId = "";
+ o.CacheEncryptionKey = "";
+ o.CredentialsCacheFilePath = "";
});
var provider = services.BuildServiceProvider();
var vippsEcommerceService = provider.GetService<IVippsEcommerceService>();