Pathfinder is supporting supports three different types of authenticationauthentications. Depending of on your needs and the support of your client library you can choose between the following authentication types:
using API Keys
using JWT
using basic Basic authentication
API KEY
This authentication method allows any user with required permission the correct permissions to create a special token via Pathfinder Client which . This can be used in the authorization header in every call for calls to the API to allow access to the API in the name on behalf of the creator user without knowing requiring information about the user name and password. This is meant to be used in 3rd party applications that will often be accessing frequently access the API.
The API tokens can have different expiration dates depending on the properties set while creating them.
For more information, go to: Creating API key in Pathfinder client.
JWT
This authentication method requires the user to first login using user name and password. After that, an then use the provided token is used as a response in the authorization header in every call to the API to allow access to the API. The JWT tokens are only valid for 24hs24 hours.
Basic authentication
This authentication method requires the user to login using a user name and password in for every call to the API. In the request headers, you will see that the authorization header is going to pass the API a Base64 encoded string to the API, representing your username and password values, appended to the text "Basic".