aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2021-04-01 00:05:15 +0200
committerivarlovlie <git@ivarlovlie.no>2021-04-01 00:05:15 +0200
commitbb4a70c105d528c26019048d33d85373c2119bd9 (patch)
treef8f4d5d8f0e10a6c75ecdd76f91426fb8bf45c22
parente173afb2220f7a372b630fd0598999dc67d8128c (diff)
parent41ce031b02f9e826256aa324ab769c0907919bb7 (diff)
downloaddotnet-vipps-ecommerce-bb4a70c105d528c26019048d33d85373c2119bd9.tar.xz
dotnet-vipps-ecommerce-bb4a70c105d528c26019048d33d85373c2119bd9.zip
Merge remote-tracking branch 'origin/master'
-rw-r--r--LICENSE_NOTICES5
-rw-r--r--README.md3
2 files changed, 8 insertions, 0 deletions
diff --git a/LICENSE_NOTICES b/LICENSE_NOTICES
index 2f338f3..c37df05 100644
--- a/LICENSE_NOTICES
+++ b/LICENSE_NOTICES
@@ -11,6 +11,11 @@ The attached notices are provided for information only.
For any licenses that require disclosure of source, sources are available at
https://github.com/ivarlovlie/IOL.VippsEcommerce/.
+License Notice for Microsoft.NET.Sdk
+---------------------------
+https://github.com/dotnet/runtime/blob/main/LICENSE.TXT
+
+
License Notice for Microsoft.Extensions.DependencyInjection
---------------------------
https://github.com/dotnet/runtime/blob/main/LICENSE.TXT
diff --git a/README.md b/README.md
index 4a7819b..d52c985 100644
--- a/README.md
+++ b/README.md
@@ -30,6 +30,9 @@ services.AddVippsEcommerceService(o => {
With the above example, the service will look for configuration values in the current environment using names specified in [VippsConfigurationKeyNames.cs](https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyNames.cs), then in the configuration object. The environment variable name for a given property is also specified in it's XML-documentation.
+> [Environment.GetEnvironmentVariable](https://docs.microsoft.com/en-us/dotnet/api/system.environment.getenvironmentvariable?view=net-5.0) is used to retrieve environment variables, that means that user-secrets and anything else than process-spesific variables (`VARIABLE=value dotnet YourBinary.dll`) does not register on Unix systems.
+
+
## Caching
The service can cache the credentials for api-access in a file with optional AES encryption, example: