Removed getWebApiOauthToken

This commit is contained in:
Alex Corn
2023-06-27 01:20:06 -04:00
parent 86e87e88ed
commit f776d9fd4a

View File

@@ -45,18 +45,6 @@ SteamCommunity.prototype.getWebApiKey = function(domain, callback) {
}, "steamcommunity"); }, "steamcommunity");
}; };
/**
* @deprecated No longer works. Will be removed in a future release.
* @param {function} callback
*/
SteamCommunity.prototype.getWebApiOauthToken = function(callback) {
if (this.oAuthToken) {
return callback(null, this.oAuthToken);
}
callback(new Error('This operation requires an OAuth token, which is no longer issued by Steam.'));
};
/** /**
* Sets an access_token generated by steam-session using EAuthTokenPlatformType.MobileApp. * Sets an access_token generated by steam-session using EAuthTokenPlatformType.MobileApp.
* Required for some operations such as 2FA enabling and disabling. * Required for some operations such as 2FA enabling and disabling.