xbox.webapi.scripts.authenticate module

Example scripts that performs XBL authentication

class xbox.webapi.scripts.authenticate.AuthCallbackRequestHandler(request, client_address, server)[source]

Bases: BaseHTTPRequestHandler

Handles the auth callback that’s received when Windows Live auth flow completed

do_GET()[source]
async xbox.webapi.scripts.authenticate.do_auth(client_id, client_secret, redirect_uri, token_filepath)[source]
Parameters:
  • client_id (str) –

  • client_secret (str) –

  • redirect_uri (str) –

  • token_filepath (str) –

async xbox.webapi.scripts.authenticate.async_main()[source]
xbox.webapi.scripts.authenticate.main()[source]