Removed getWebApiOauthToken

This commit is contained in:
Alex Corn 2023-06-27 01:20:06 -04:00
parent 86e87e88ed
commit f776d9fd4a
No known key found for this signature in database
GPG Key ID: E51989A3E7A27FDF

View File

@ -45,18 +45,6 @@ SteamCommunity.prototype.getWebApiKey = function(domain, callback) {
}, "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.
* Required for some operations such as 2FA enabling and disabling.