Skip to content

five-on-it / apps/client/src/ui/steam / signInThroughApp

Function: signInThroughApp() ​

signInThroughApp(platform, steam, storage?): Promise<SteamReturn | undefined>

Defined in: apps/client/src/ui/steam.ts:215

Signs the page in through the desktop app: with its Steam ticket, else on Steam's page in a window of the app's, the code it came back with exchanged; what came of it, or none when the player closed the window.

Parameters ​

platform ​

Pick<Platform, "base" | "steamTicket" | "steamExchange">

steam ​

SteamBridge

storage? ​

Pick<Storage, "setItem"> = localStorage

Returns ​

Promise<SteamReturn | undefined>