generateAccessTokenForApp

fun generateAccessTokenForApp(steamID: SteamID, refreshToken: String, allowRenewal: Boolean = false): AccessTokenGenerateResult

Given a refresh token for a client app audience (e.g. desktop client / mobile client), generate an access token.

Return

A AccessTokenGenerateResult containing the new token

Parameters

steamID

the SteamID this token belongs to.

refreshToken

the refresh token.

allowRenewal

If true, allow renewing the token.