DoctorMcKay / node-steam-session

Node.js module for authenticating with the Steam auth server. Allows for generating refresh tokens and web auth cookies for use with steam-user and other packages.
https://www.npmjs.com/package/steam-session
MIT License
112 stars 20 forks source link

Add ability for custom userAgent #31

Closed lastelok closed 10 months ago

lastelok commented 10 months ago

Hi, thanks for this project, i would like ask to add new option for LoginSession, custom userAgent when using WebBrowser login For example:

        const session = new LoginSession(EAuthTokenPlatformType.WebBrowser, {
            userAgent: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36`
        })