five-on-it / apps/client/src/ui/steam / signInWithTicket
Function: signInWithTicket()
signInWithTicket(
platform,steam,storage?):Promise<SteamReturn|undefined>
Defined in: apps/client/src/ui/steam.ts:175
Signs the page in with the desktop app's Steam ticket alone (POST /auth/steam): what came of it, or none when the app has no ticket (Steam not running).
Parameters
platform
Pick<Platform, "steamTicket">
steam
Pick<SteamBridge, "ticket">
storage?
Pick<Storage, "setItem"> = localStorage
Returns
Promise<SteamReturn | undefined>