Skip to content

Commit

Permalink
Deprecate WebAPIUserNonce in logon, and MachineAuth callback
Browse files Browse the repository at this point in the history
  • Loading branch information
LossyDragon committed Oct 18, 2023
1 parent 44cc9fe commit 3847ee3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@
// 2. logon to account using username, password, and sha-1 hash of the sentry file

/**
* This sample is obsolete. Check out
* {@link in.dragonbra.javasteamsamples._1logon.SampleLogonAuthentication }
* and {@link in.dragonbra.javasteamsamples._1logon.SampleLogonQRAuthentication}
* Reference: <a href="https://github.com/SteamRE/SteamKit/pull/1270#issuecomment-1768359942">SteamKit issue</a>
*
* @author lngtr
* @since 2018-02-28
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
import in.dragonbra.javasteam.types.JobID;

/**
* @deprecated Steam no longer sends machine auth as of 2023, use SteamAuthentication.
*
* Represents details required to complete a machine auth request.
*/
@Deprecated
public class MachineAuthDetails {

private JobID jobID;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@ public void logOff() {
* This should normally be used in response to a {@link UpdateMachineAuthCallback}.
*
* @param details The details pertaining to the response.
* @deprecated Steam no longer sends machine auth as of 2023, use SteamAuthentication.
*/
@Deprecated
public void sendMachineAuthResponse(MachineAuthDetails details) {
if (details == null) {
throw new IllegalArgumentException("details is null");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public class LoggedOnCallback extends CallbackMsg {

private byte[] steam2Ticket;

@Deprecated
private String webAPIUserNonce;

private String ipCountryCode;
Expand Down Expand Up @@ -204,8 +205,10 @@ public byte[] getSteam2Ticket() {
}

/**
* @deprecated Steam no longer sends webapi nonce as of October 2023, use SteamAuthentication.
* @return the WebAPI authentication user nonce.
*/
@Deprecated
public String getWebAPIUserNonce() {
return webAPIUserNonce;
}
Expand Down

0 comments on commit 3847ee3

Please sign in to comment.