microsoft_types — minecraft-launcher-lib 8.0 documentation

# microsoft_types

This module contains all Types for the microsoft_account module. It has it’s own module because of the many types needed that are not used somewhere else.

class AuthorizationTokenResponse

  Bases: `TypedDict`

  access_token: str
  token_type: Literal['Bearer']
  expires_in: int
  scope: str
  refresh_token: str

class XBLResponse

  Bases: `TypedDict`

  IssueInstant: str
  NotAfter: str
  Token: str
  DisplayClaims: _DisplayClaims

class XSTSResponse

  Bases: `TypedDict`

  IssueInstant: str
  NotAfter: str
  Token: str
  DisplayClaimns: _DisplayClaims

class MinecraftStoreResponse

  Bases: `TypedDict`

  signature: str
  keyId: str

class MinecraftAuthenticateResponse

  Bases: `TypedDict`

  username: str
  roles: list[Any]
  access_token: str
  token_type: str
  expires_in: int

class MinecraftProfileResponse

  Bases: `TypedDict`

  id: str
  name: str
  skins: list[_MinecraftProfileSkin]
  capes: list[_MinecraftProfileCape]
  error: str
  errorMessage: str

class CompleteLoginResponse

  Bases: `MinecraftProfileResponse`

  access_token: str
  refresh_token: str

View the source code of this module