aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-01-30 01:11:57 +0100
committerivarlovlie <git@ivarlovlie.no>2022-01-30 01:11:57 +0100
commit8bc3a3677f2fbde32e20925303976fe298d0c456 (patch)
treee52ee951e23ba3a7d417b1911e562f98a52bb177 /README.md
parenta0d0171095a9122904790eefaad4fcd9817732d7 (diff)
downloaddotnet-vipps-ecommerce-8bc3a3677f2fbde32e20925303976fe298d0c456.tar.xz
dotnet-vipps-ecommerce-8bc3a3677f2fbde32e20925303976fe298d0c456.zip
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 5 insertions, 9 deletions
diff --git a/README.md b/README.md
index 92e96c7..14c1f4a 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,7 @@
-Implements https://vippsas.github.io/vipps-ecom-api , more or less (see [IVippsEcommerceService.cs](https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/src/IOL.VippsEcommerce/IVippsEcommerceService.cs)).
+Implements https://vippsas.github.io/vipps-ecom-api, more or less (see [IVippsEcommerceService.cs](https://git.ivarlovlie.no/dotnet-vipps-ecommerece/tree/src/IOL.VippsEcommerce/IVippsEcommerceService.cs)).
-`dotnet add package IOL.VippsEcommerce`
-
-[![builds.sr.ht status](https://builds.sr.ht/~ivar/IOL.VippsEcommerce/commits/.run-tests.yml.svg)](https://builds.sr.ht/~ivar/IOL.VippsEcommerce/commits/.run-tests.yml?)
-![IOL.VippsEcommerce on nuget.org](https://img.shields.io/badge/target-net5.0-blue)
-[![IOL.VippsEcommerce on nuget.org](https://img.shields.io/nuget/v/IOL.VippsEcommerce)](https://www.nuget.org/packages/IOL.VippsEcommerce)
-([fuget](https://www.fuget.org/packages/IOL.VippsEcommerce))
+Install: `dotnet add package IOL.VippsEcommerce`
+Nuget: https://www.nuget.org/packages/IOL.VippsEcommerce
## Configuration
@@ -19,11 +15,11 @@ services.AddVippsEcommerceService(o => {
});
```
-See [VippsConfiguration.cs](https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/src/IOL.VippsEcommerce/Models/VippsConfiguration.cs) for available properties.
+See [VippsConfiguration.cs](https://git.ivarlovlie.no/dotnet-vipps-ecommerece/tree/src/IOL.VippsEcommerce/Models/VippsConfiguration.cs) for available properties.
## Caching
-The service can cache the credentials for api-access in a file with optional AES encryption, example:
+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 key for AES encryption, if omitted the cache will be readable json with your keys exposed and everything.