Qr Auth Session
class QrAuthSession @JvmOverloads constructor(val authentication: SteamAuthentication, val authenticator: IAuthenticator?, response: SteammessagesAuthSteamclient.CAuthentication_BeginAuthSessionViaQR_Response.Builder, val defaultScope: CoroutineScope = CoroutineScope(Dispatchers.IO + SupervisorJob())) : AuthSession
QR code based authentication session.
Constructors
Link copied to clipboard
constructor(authentication: SteamAuthentication, authenticator: IAuthenticator?, response: SteammessagesAuthSteamclient.CAuthentication_BeginAuthSessionViaQR_Response.Builder, defaultScope: CoroutineScope = CoroutineScope(Dispatchers.IO + SupervisorJob()))
Properties
Functions
Link copied to clipboard
fun pollAuthSessionStatus(parentScope: CoroutineScope = defaultScope): CompletableFuture<AuthPollResult?>
Polls for authentication status once. Prefer using pollingWaitForResult instead.
Link copied to clipboard
fun pollingWaitForResult(parentScope: CoroutineScope = defaultScope): CompletableFuture<AuthPollResult>
Handle any 2-factor authentication, and if necessary poll for updates until authentication succeeds.