1b.app
Link copied -

How are there options to access the API without using named licenses

The question came up because I'm interested in figuring out how to configure an application to run without using a Client license and/or a named license
Original question is available on version: ua Вячеслав Легеза

Answers:

The answer will only apply to the OS and only to the V2 API
1. you can create an api user, go to the admin under it, go to the apiv2 app and take its api hash, then we tap into the api and get a token based on this hash, then exit the admin to not take up the license. Further, knocks on all api methods go with this token, and it turns out that if you make any request every hour, it extends it for another hour and it will essentially be eternal if you knock on any api every hour.
2. you can not create an api user, but log in from the admin of any user, go to the apiv2 app and take its api hash, then take it, knock on the api and get a token based on this hash. Next, knocks on all api methods go with this token, and it turns out that if you make any request every hour, it extends it for another hour and it will essentially be eternal if you knock on any api every hour, and the user is thrown out of the admin will not )
3. you can hang an action every minute, which kicks everyone due to inactivity except for the selected user, and there select the rest api (Deactivate users after N times of inactivity)
15.12.2022, 10:33
Original comment available on version: ua

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you

Ustimenko Igor
OneBox production wrote:
The answer will only apply to the OS and only to the V2 API
1. you can create an api user, go to the admin under it, go to the apiv2 app and take its api hash, then we tap into the api and get a token based on this hash, then exit the admin to not take up the license. Further, knocks on all api methods go with this token, and it turns out that if you make any request every hour, it extends it for another hour and it will essentially be eternal if you knock on any api every hour.
2. you can not create an api user, but log in from the admin of any user, go to the apiv2 app and take its api hash, then take it, knock on the api and get a token based on this hash. Next, knocks on all api methods go with this token, and it turns out that if you make any request every hour, it extends it for another hour and it will essentially be eternal if you knock on any api every hour, and the user is thrown out of the admin will not )
3. you can hang an action every minute, which kicks everyone due to inactivity except for the selected user, and there select the rest api (Deactivate users after N times of inactivity)

Thank you very much for such a detailed answer.
I did not even imagine that there are several different options.
Related questions will arise, wait :)
15.12.2022, 10:39
Вячеслав Легеза Original comment available on version: ua

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment