Skip to content

Steam TOTP

SunriseM edited this page Jun 1, 2018 · 1 revision

Allows you to generate Steam One Time Passwords based on TOTP (RFC 6238)

Methods

getTimeDiff()

Returns time difference between our machine and steam servers in milliseconds as Long.

getAuthCode(sharedSecret, _timeOffset)

  • sharedSecret: String. sharedSecret code from your Account.
  • _timeOffset: Long. Time difference between machine and steam servers. If ommited it will calculate it automatically.

Returns 5-Digit Steam Auth code string.

Clone this wiki locally