Get loginToken user by id,name, password?

Hello!
How to get logintoken user?

    const userName = 'test';
    const password = '1234';
    const loginToken = Accounts._getLoginToken(userName , password);

This is necessary to log in to the third-party software page. Browser emulator