Commit 9a680e69 authored by Nico Schottelius's avatar Nico Schottelius

++ API

parent 3ce99d0e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment