PANTHEON™ navodila

 Kazalo
 Glavna stran - Dobrodošli v PANTHEON navodila
[Collapse]PANTHEON
 [Collapse]Vodiči za PANTHEON
  [Expand]Vodič po PANTHEON-u
  [Expand]Vodič po PANTHEON Farming
  [Expand]Vodič po PANTHEON Retail
  [Expand]Vodič po PANTHEON Vet
 [Collapse]Uporabniški priročniki za PANTHEON
  [Expand]Uporabniški priročnik za PANTHEON
  [Expand]Uporabniški priročnik za PANTHEON Retail
  [Expand]Uporabniški priročnik za PANTHEON Vet
[Collapse]PANTHEON Web
 [Collapse]Vodiči za PANTHEON Web
  [Expand]Vodič po PANTHEON Web Light
  [Expand]Vodič za PANTHEON Web Terminal
  [Expand]Vodič za PANTHEON Web Legal
  [Expand]Arhiv starih izdelkov
 [Collapse]Uporabniški priročniki za PANTHEON Web
  [Expand]Kako začeti
  [Expand]Uporabniški priročnik za PANTHEON Web Light
   Uporabniški priročnik za PANTHEON Web Terminal
  [Expand]Arhiv starih izdelkov
  [Expand]Uporabniški priročnik za PANTHEON Web Legal
[Collapse]PANTHEON Granule
 [Collapse]Vodiči za PANTHEON Granule
  [Expand]Granula Kadri
  [Expand]Granula Potni nalogi
  [Expand]Granula Dokumenti in Opravila
  [Expand]Granula Nadzorna plošča
  [Expand]Granula B2B Naročanje
  [Expand]Granula Servis na terenu
  [Expand]Inventar fiksnih sredstev
  [Expand]Granula Inventura skladišča
 [Collapse]Uporabniški priročniki za PANTHEON Granule
   Začetek
   Primer uporabe PANTHEON Granul v namišljenem podjetju
  [Expand]PANTHEON Granule in aktivacija
  [Expand]Granula Kadri
  [Expand]Granula Potni nalogi
  [Expand]Granula Dokumenti in opravila
  [Expand]Granula B2B naročanje
  [Expand]Granula Nadzorna plošča
  [Expand]Granula Servis na terenu
  [Expand]Granula Inventura osnovnih sredstev
  [Expand]Granula Inventura skladišča
   PANTHEON Granule - pogosta vprašanja in odgovori
   Arhiv
[Expand]Uporabniške strani

Load Time: 375,0083 ms
"
  6613 | 1 | |
Label


Users Authentication

             
       

There are four ways to Autenticate user:

  1. atNone ("AuthType": "atNone") 
  2. atUser ("AuthType": "atUser")
  3. POST/API/Users/Authwithcookie
  4. POST/API/Users/Authwithtoken

1. atNone ("AuthType": "atNone") 

If the Parama AuthType is set to atNone in this case there is no autentification, the user is taken form the connection string in appsettings.json file

 

2. atUser ("AuthType": "atUser")

If param AuthType is set to atUser in this case at each connection the user and password are send to create connection string.


2.1 Example for Advanced REST client:



Selected Basic authorisation allowes you to send username and password in a request header.

Or you can enter in service HEADER:

authorization: Basic XXXXXXXXXXXX
where  XXXXXXXXXXXX is base64 encripted username: password

Or you can use some other authentication method which is allowed by client aplication.

 

3. POST/API/Users/Authwithcookie

This API generate cookie atCookie ("AuthType": "atCookie") for autorisation in JSON form.

User and password will be send in .json format.


{

"username": "string",

  "password": "string"

}

 

Expiration in minutes is set in param  "CookieExpiresMinutes": 2,


 

4. POST/API/Users/Authwithtoken

This API gnerate token atToken ("AuthType": "atToken",) in JSON form needed for autorisation in each API service call.

{

"username": "string",

  "password": "string"

}

 

User and password will be send in .json format.

Selected Bearer authorization allows to send an authentication token in the authorization header using the 'bearer' method.

Or you can add token in the service HEADER.

authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


Token Expiration in days: "TokenExpiresDays": 1,

Tokens can be in  JWT or JSON Web Tokens (https://jwt.io/).

 

 

  

     


Ali so bila ta navodila uporabna?
Vaše povratne informacije bodo prispevale k boljši pomoči.
Komentarji
Komentarji so izpostavljeni tudi na forumu.