Facepunch.Steamworks Wiki

Steamworks.SteamUser.GetStoreAuthUrlAsync

Syntax

static async Task<string> GetStoreAuthUrlAsync( string url )

Description

Requests a URL which authenticates an in-game browser for store check-out, and then redirects to the specified URL. As long as the in-game browser accepts and handles session cookies, Steam microtransaction checkout pages will automatically recognize the user instead of presenting a login page. NOTE: The URL has a very short lifetime to prevent history-snooping attacks, so you should only call this API when you are about to launch the browser, or else immediately navigate to the result URL using a hidden browser window. NOTE: The resulting authorization cookie has an expiration time of one day, so it would be a good idea to request and visit a new auth URL every 12 hours.

Arguments

string url

Returns

Task<string>

Page Links


Special Pages


Wikis

?

Render Time: 15ms

DB GetPage 4
Generate Html 0
SaveChanges (1) 8
Render Body 0
Render Sidebar 1