API

Descrierea metodelor

Generarea Token

GET https://sso.esempla.systems/api/v1/login

Path Parameters

NameTypeDescription

Authorization

string

Metoda de audentificare "Basic Auth"

Request Body

NameTypeDescription

Username

string

Numele Secret al Organizatiei

Password

string

Tokenul Secret al Proectului

{
    "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImp0aSI6IjEifQ.eyJpc3MiOiIxIiwiYXVkIjoiMSIsImp0aSI6IjEiLCJpYXQiOjE1NTI5MDQwNzgsIm5iZiI6MTU1MjkwNDA3OCwiZXhwIjoxNTUyOTA3Njc4fQ.a0mJq1GZH6N4Tx3Gzrc5m8l7MlXvtfi4NlmcKca1Rm4"
}

Inspectam Organizatia si Proectul care apartine tokinului

GET https://sso.esempla.systems/api/v1/checkToken

Path Parameters

NameTypeDescription

Authorization

string

Metoda de audentificare "Bearer Token"

Request Body

NameTypeDescription

Token

string

indicam tokenul care a fos creat prin metoda "/api/v1/login"

{
    "status": true,
    "organization": {
        "name": "TES1",
        "idno": "123",
        "status_id": 1,
        "description": "",
        "project": "test"
    }
}

Last updated