This commit is contained in:
Nico Schottelius 2018-10-26 19:45:36 +02:00
parent 3ce99d0ed9
commit 9a680e6956

View file

@ -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