aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvar Løvlie <38570165+ivarlovlie@users.noreply.github.com>2021-03-31 19:41:11 +0200
committerGitHub <noreply@github.com>2021-03-31 19:41:11 +0200
commitfe90377c62578d27407b1b1af1c85a5c5d2e5150 (patch)
treec501cdfac4ee62420055874399b8856a431b5646
parent9095d82c93b8cfc7b2eefd3f7b41f26a08d96758 (diff)
downloaddotnet-vipps-ecommerce-fe90377c62578d27407b1b1af1c85a5c5d2e5150.tar.xz
dotnet-vipps-ecommerce-fe90377c62578d27407b1b1af1c85a5c5d2e5150.zip
Update README.md
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index bcce7a8..886b1fb 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@ With the above example, the service will look for configuration values in the cu
The service can cache the credentials for api-access in a file with optional AES encryption, example:
```csharp
services.AddVippsEcommerceService(o => {
- o.CacheEncryptionKey = "randomstring"; // optional
- o.CredentialsCacheFilePath = "/tmp/vippsecom"; // path to directory that the executing process has write-access to
+ o.CacheEncryptionKey = "randomstring"; // optional key for AES encryption, if omitted the cache will be readable json with your keys exposed and everything.
+ o.CacheDirectoryPath = "/tmp/vippsecom"; // path to a directory that the executing process has write-access to.
});
```