Class Xbox

Hierarchy

  • Xbox

Constructors

  • Parameters

    • parent: Auth
    • MStoken: MSAuthToken
    • xblToken: XblAuthToken

    Returns Xbox

Properties

exp: number
msToken: MSAuthToken
parent: Auth
xblToken: XblAuthToken

Methods

  • Returns Promise<default>

  • Parameters

    • code: "error" | "load" | "error.auth" | "error.auth.microsoft" | "error.auth.xboxLive" | "error.auth.xsts" | "error.auth.xsts.userNotFound" | "error.auth.xsts.bannedCountry" | "error.auth.xsts.child" | "error.auth.xsts.child.SK" | "error.auth.minecraft" | "error.auth.minecraft.login" | "error.auth.minecraft.profile" | "error.auth.minecraft.entitlements" | "error.gui" | "error.gui.closed" | "error.gui.raw.noBrowser" | "error.state.invalid" | "error.state.invalid.http" | "error.state.invalid.gui" | "error.state.invalid.redirect" | "error.state.invalid.electron" | "load.auth" | "load.auth.microsoft" | "load.auth.xboxLive" | "load.auth.xboxLive.1" | "load.auth.xboxLive.2" | "load.auth.xsts" | "load.auth.minecraft" | "load.auth.minecraft.login" | "load.auth.minecraft.profile" | "load.auth.minecraft.gamepass" | "gui" | "gui.title" | "gui.market"

    Returns void

  • Parameters

    • Optional force: boolean

    Returns Promise<Xbox>

  • Feed this into the refresh function in the Auth object that generated it.

    Returns string

    The refresh token

  • Parameters

    • RelyingParty: string = "http://xboxlive.com"

    Returns Promise<string>

Generated using TypeDoc