five-on-it / apps/client/src/ui/steam / appSteamProof
Function: appSteamProof()
appSteamProof(
platform,steam):Promise<{ticket:string; } | {code:string; } | {failed:string; } |undefined>
Defined in: apps/client/src/ui/steam.ts:195
What proves the desktop app's Steam account to the platform: its ticket, else (Steam not running) the one-time code of a sign-in on Steam's page in a window of the app's; none when the player closed the window, or why it failed.
Parameters
platform
Pick<Platform, "base">
steam
Returns
Promise<{ ticket: string; } | { code: string; } | { failed: string; } | undefined>