Module endpoint.TokenCreate
TokenCreate - CASYMIR REST API
Methods
Methods |
Request POST TokenCreate
POST-Request-Field-Definition | |
POST-Request-Usage | |
POST-Response-Field-Definition | |
POST-Response |
TokenCreate-Request-Handler (Internal)
TokenCreate (DB, Body, Parameter) | Endpunkt Handler. |
Methods
Request POST TokenCreate
- POST-Request-Field-Definition
- Request for Token
- POST-Request-Usage
-
Authroization: Basic
BASIC benötigt nur einen Header
Usage:
POST /www/token
- POST-Response-Field-Definition
-
Fields:
- expires_in int -- Token-Lebensdauer in Sekunden
- access_token string -- Das Token für Bearer-Auth
- POST-Response
-
Usage:
POST https://localhost:5765/www/token HTTP/1.1 { "expires_in": "360", "access_token": "ddaf9b0540ecb48ad37e3ba0f97442fa486de194" }