CredentialsAuthSession

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

Credentials based authentication session.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
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.

Link copied to clipboard
fun sendSteamGuardCode(code: String?, codeType: SteammessagesAuthSteamclient.EAuthSessionGuardType?)

Send Steam Guard code for this authentication session.