SteamAuthentication

class SteamAuthentication(steamClient: SteamClient)

This handler is used for authenticating on Steam.

Parameters

steamClient

this instance will be associated with.

Constructors

Link copied to clipboard
constructor(steamClient: SteamClient)

Initializes a new instance of the SteamAuthentication class.

Functions

Link copied to clipboard
fun beginAuthSessionViaCredentials(authSessionDetails: AuthSessionDetails, parentScope: CoroutineScope = steamClient.defaultScope): CompletableFuture<CredentialsAuthSession>

Start the authentication process by providing username and password.

Link copied to clipboard
fun beginAuthSessionViaQR(authSessionDetails: AuthSessionDetails, parentScope: CoroutineScope = steamClient.defaultScope): CompletableFuture<QrAuthSession>

Start the authentication process using QR codes.

Link copied to clipboard
fun generateAccessTokenForApp(steamID: SteamID, refreshToken: String, allowRenewal: Boolean = false, parentScope: CoroutineScope = steamClient.defaultScope): CompletableFuture<AccessTokenGenerateResult>

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