...
This authentication method requires the user to first login using user name and password and then store the token provided as a response. After that, the provided token is used as a response in the authorization header in for every call to the API to allow access to the API. The JWT tokens are only valid for 24 hours.
...
This authentication method requires the user to login using a user name and password for every call to the API. In the request headers, you will see that the authorization header is going to pass a Base64 encoded string to the API, representing your username and password values, appended to the text "Basic". See RFC7617 for details.