Browse Source

++ API

patch-1
Nico Schottelius 4 years ago
parent
commit
9a680e6956
  1. 26
      README.md

26
README.md

@ -17,10 +17,29 @@ In development, pre production.
- No user interface (UI) supported (?)
-> idea is to keep flow logic in ungleich-dynamicweb
## Usage: BUS and REST
## Usage: BUS
### RPC: verify(appid, token, appidtoverify, tokentoverify)
Verify whether the requesting app is authenticated. This is only
allowed to be used for trusted appids.
### POST: /verify
Not sure if this one will be publicly available.
```
{
version: "1",
appid: "your-app-uuid",
token: "current time based token",
appidtoverify: "appid that wants to be authenticated",
tokentoverify: "current time based token of appidtoverify",
}
```
## Usage: REST
- BUS: send
- Authentication
- Use an existing token to connect to the service
- All REST based messages: JSON
@ -90,6 +109,7 @@ Response JSON object:
}
## Usage: OTP
The seeds that you receive can be used for TOTP to authenticate your

Loading…
Cancel
Save