public class LogOnDetails
extends java.lang.Object
| Constructor and Description |
|---|
LogOnDetails() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccessToken()
Gets the access token used to log in.
|
long |
getAccountID()
Gets the account ID used for connecting clients when using the Console instance.
|
long |
getAccountInstance()
Gets the account instance.
|
java.lang.String |
getAuthCode()
Gets the Steam Guard auth code used to login.
|
java.lang.Integer |
getCellID()
Gets the CellID.
|
java.lang.String |
getClientLanguage()
Gets the client language.
|
EOSType |
getClientOSType()
Gets the client operating system type.
|
java.lang.Integer |
getLoginID()
Gets the LoginID.
|
java.lang.String |
getLoginKey()
Deprecated.
"Steam no longer sends new login keys as of March 2023, use SteamAuthentication."
|
java.lang.String |
getPassword()
Gets the password.
|
byte[] |
getSentryFileHash()
Gets the sentry file hash for this logon attempt, or null if no sentry file is available.
|
java.lang.String |
getTwoFactorCode()
Gets the 2-factor auth code used to login.
|
java.lang.String |
getUsername()
Gets the username.
|
boolean |
isRequestSteam2Ticket()
Gets a value indicating whether to request the Steam2 ticket.
|
boolean |
isShouldRememberPassword()
Gets the 'Should Remember Password' flag.
|
void |
setAccessToken(java.lang.String accessToken)
Sets the access token used to log in.
|
void |
setAccountID(long accountID)
Sets the account ID used for connecting clients when using the Console instance.
|
void |
setAccountInstance(long accountInstance)
Sets the account instance.
|
void |
setAuthCode(java.lang.String authCode)
Sets the Steam Guard auth code used to login.
|
void |
setCellID(int cellID)
Sets the CellID.
|
void |
setClientLanguage(java.lang.String clientLanguage)
Sets the client language.
|
void |
setClientOSType(EOSType clientOSType)
Sets the client operating system type.
|
void |
setLoginID(java.lang.Integer loginID)
Sets the LoginID.
|
void |
setLoginKey(java.lang.String loginKey)
Deprecated.
"Steam no longer sends new login keys as of March 2023, use SteamAuthentication."
|
void |
setPassword(java.lang.String password)
Sets the password.
|
void |
setRequestSteam2Ticket(boolean requestSteam2Ticket)
Sets a value indicating whether to request the Steam2 ticket.
|
void |
setSentryFileHash(byte[] sentryFileHash)
Sets the sentry file hash for this logon attempt, or null if no sentry file is available.
|
void |
setShouldRememberPassword(boolean shouldRememberPassword)
Sets the 'Should Remember Password' flag.
|
void |
setTwoFactorCode(java.lang.String twoFactorCode)
Sets the 2-factor auth code used to login.
|
void |
setUsername(java.lang.String username)
Sets the username.
|
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username - the username.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - the password.public java.lang.Integer getCellID()
public void setCellID(int cellID)
cellID - the CellID.public java.lang.Integer getLoginID()
public void setLoginID(java.lang.Integer loginID)
loginID - the LoginID.public java.lang.String getAuthCode()
public void setAuthCode(java.lang.String authCode)
authCode - the auth code.public java.lang.String getTwoFactorCode()
public void setTwoFactorCode(java.lang.String twoFactorCode)
twoFactorCode - the two-factor auth code.@Deprecated public java.lang.String getLoginKey()
LoginKeyCallback.@Deprecated public void setLoginKey(java.lang.String loginKey)
LoginKeyCallback.loginKey - the login key.public boolean isShouldRememberPassword()
LoginKeyCallback for password-less login.public void setShouldRememberPassword(boolean shouldRememberPassword)
LoginKeyCallback for password-less login.shouldRememberPassword - the 'Should Remember Password' flag.public byte[] getSentryFileHash()
public void setSentryFileHash(byte[] sentryFileHash)
sentryFileHash - the sentry file hash.public java.lang.String getAccessToken()
SteamAuthentication.public void setAccessToken(java.lang.String accessToken)
SteamAuthentication.accessToken - the access token used to log in.public long getAccountInstance()
public void setAccountInstance(long accountInstance)
accountInstance - the account instance.public long getAccountID()
public void setAccountID(long accountID)
accountID - the account ID.public boolean isRequestSteam2Ticket()
public void setRequestSteam2Ticket(boolean requestSteam2Ticket)
requestSteam2Ticket - true if the Steam2 ticket should be requested; otherwise, false.public EOSType getClientOSType()
public void setClientOSType(EOSType clientOSType)
clientOSType - the client operating system type.public java.lang.String getClientLanguage()
public void setClientLanguage(java.lang.String clientLanguage)
clientLanguage - the client language.