Compare commits
No commits in common. "3da2b71d62a5bfc2c98401b2dc3d9bf9ca665f39" and "0f9fe0a4333b8afaa281b22c9b6ae69d99278e3b" have entirely different histories.
3da2b71d62
...
0f9fe0a433
14
README.MD
14
README.MD
@ -1,27 +1,15 @@
|
||||
##### NOT PRODUCTION READY CODE, JUST AN EXAMPLE
|
||||
|
||||
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.
|
||||
Put your clientId and clientSecret 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.
|
Loading…
Reference in New Issue
Block a user