Get token
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).