mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2026-08-19 13:13:28 +08:00
Removed getWebApiOauthToken
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user