Module endpoint.TokenCreate

TokenCreate - CASYMIR REST API Endpunkt TokenCreate

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

Methods

Usage:

    POST 

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"
    } 

TokenCreate-Request-Handler (Internal)

TokenCreate (DB, Body, Parameter)
Endpunkt Handler.

Parameters:

  • DB UserData -- Datenbank Verbindung
  • Body table -- Request Body
  • Parameter string -- unused

Returns:

    table retBody
generated by LDoc 1.4.6 Last updated 2024-11-23 10:47:21