LogOnDetails

constructor(username: String = "", password: String? = null, cellID: Int? = null, loginID: Int? = null, authCode: String? = null, twoFactorCode: String? = null, shouldRememberPassword: Boolean = false, accessToken: String? = null, accountInstance: Long = SteamID.DESKTOP_INSTANCE, accountID: Long = 0, requestSteam2Ticket: Boolean = false, clientOSType: EOSType = Utils.getOSType(), clientLanguage: String = "english", machineName: String = "", chatMode: ChatMode = ChatMode.DEFAULT, uiMode: EUIMode = EUIMode.Unknown, isSteamDeck: Boolean = false)

Parameters

username

Gets or sets the username.

password

Gets or sets the password.

cellID

Gets or sets the CellID.

loginID

Gets or sets the LoginID. This number is used for identifying logon session. The purpose of this field is to allow multiple sessions to the same steam account from the same machine. This is because Steam Network doesn't allow more than one session with the same LoginID to access given account at the same time from the same public IP. If you want to establish more than one active session to given account, you must make sure that every session (to that account) from the same public IP has a unique LoginID. By default, LoginID is automatically generated based on machine's primary bind address, which is the same for all sessions. Null value will cause this property to be automatically generated based on default behaviour. If in doubt, set this property to null.

authCode

Gets or sets the Steam Guard auth code used to log in. This is the code sent to the user's email.

twoFactorCode

Gets or sets the 2-factor auth code used to log in. This is the code that can be received from the authenticator apps.

shouldRememberPassword

Gets or sets the 'Should Remember Password' flag. This is used in combination with the accessToken for password-less login. Set this to true when AuthSessionDetails.persistentSession is set to true.

accessToken

Gets or sets the Refresh token used to log in. This a token that has been provided after a successful login using SteamAuthentication.

accountInstance

Gets or sets the account instance. 1 for the PC instance or 2 for the Console (PS3) instance. See SteamID.DESKTOP_INSTANCE and SteamID.CONSOLE_INSTANCE

accountID

Gets or sets the account ID used for connecting clients when using the Console instance.

requestSteam2Ticket

Gets or sets a value indicating whether to request the Steam2 ticket. This is an optional request only needed for Steam2 content downloads.

clientOSType

Gets or sets the client operating system type.

clientLanguage

Gets or sets the client language.

machineName

Gets or sets the machine name.

chatMode

Gets or sets the chat mode.

uiMode

Gets or sets the ui mode.

isSteamDeck

Gets or sets whether this is Steam Deck login.