System generated token API
- Here, we can get the token of the API_user and the application_user(database user).
- API user token used to set the permission of each API.
- The application user means the end user who will use the application.
Get token api authorization
- By default getToken api is public.
- When settings are available with authTokenInfo array, it is not public otherwise it is public.
- when value in secret provided for authTokenInfo, it has no impact on getToken system api.
Request Method: POST
URL
Request payload API_user
- Get the token of API Maker's API_user.
Request payload application_user
- Get a token of API Maker's database user(application user).
Get token using global object 'g'.
Get token api authorization
- By default getToken api is public.
- When settings are available with authTokenInfo array, it is not public otherwise it is public.
- when value in secret provided for authTokenInfo, it has no impact on getToken system api.
- Get Token of database_user (application user).