mirror of
https://github.com/Nighthawk42/bnet_auth_tool.git
synced 2026-08-30 06:22:27 +00:00
Update bnet_auth_tool.py
Title Update
This commit is contained in:
+8
-2
@@ -32,13 +32,19 @@ print(r"""
|
||||
|
||||
print("Battle.net Authenticator Tool - by Nighthawk42 - Version 1.1 (01/21/2025)")
|
||||
|
||||
class Title:
|
||||
"""Console/Window Title."""
|
||||
if sys.platform == "win32":
|
||||
os.system('title Battle.net Authenticator Tool')
|
||||
else:
|
||||
sys.stdout.write("\x1b]2;Battle.net Authenticator Tool\x07")
|
||||
|
||||
class Config:
|
||||
"""Configuration for Battle.net Authenticator API."""
|
||||
BASE_URL = "https://authenticator-rest-api.bnet-identity.blizzard.net/v1/authenticator"
|
||||
SSO_URL = "https://oauth.battle.net/oauth/sso"
|
||||
CLIENT_ID = "baedda12fe054e4abdfc3ad7bdea970a"
|
||||
|
||||
|
||||
class BattleNetAuthenticator:
|
||||
"""
|
||||
Handles Battle.net Authenticator operations, including attaching an authenticator,
|
||||
@@ -357,4 +363,4 @@ if __name__ == "__main__":
|
||||
try:
|
||||
interactive_cli()
|
||||
except KeyboardInterrupt:
|
||||
graceful_exit()
|
||||
graceful_exit()
|
||||
|
||||
Reference in New Issue
Block a user