QrAuthSession

class QrAuthSession(val authentication: SteamAuthentication, val authenticator: IAuthenticator?, response: SteammessagesAuthSteamclient.CAuthentication_BeginAuthSessionViaQR_Response.Builder) : AuthSession

QR code based authentication session.

Constructors

Link copied to clipboard
constructor(authentication: SteamAuthentication, authenticator: IAuthenticator?, response: SteammessagesAuthSteamclient.CAuthentication_BeginAuthSessionViaQR_Response.Builder)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

URL based on client ID, which can be rendered as QR code.

Link copied to clipboard

Called whenever the challenge url is refreshed by Steam.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scope: CoroutineScope

Functions

Link copied to clipboard

Polls for authentication status once. Prefer using pollingWaitForResult instead.

Link copied to clipboard

Handle any 2-factor authentication, and if necessary poll for updates until authentication succeeds.

Link copied to clipboard

Blocking, compat function for Java mostly: Handle any 2-factor authentication, and if necessary poll for updates until authentication succeeds.