Update 'README.MD'

master
fedde 2022-02-28 13:50:44 +00:00
parent 0f9fe0a433
commit b7b669bcfd
1 changed files with 13 additions and 1 deletions

View File

@ -1,15 +1,27 @@
##### NOT PRODUCTION READY CODE, JUST AN EXAMPLE
Put your clientId and clientSecret in a newly created appsettings.secrets.json file inside the root of the Secrets project.
Put your clientId and clientSecret or your Farmmaps-account data (username and password) in a newly created appsettings.secrets.json file inside the root of the Secrets project.
**appsettings.secrets.json**
```
{
//API credential sign-in
"ClientId": "<clientId>",
"ClientSecret": "<clientSecret>"
}
```
Or when using a Farmmaps account to sing-in
**appsettings.secrets.json**
```
{
//Sign-in using farmmaps account
"Username": "",
"Password": ""
}
```
* Isn't 100% complete.
* Needs proper testing of all public api methods.
* Needs documentation of all public api methods.