Versions in this module Expand all Collapse all v0 v0.0.12 Nov 9, 2023 Changes in this version type FinalizeLoginCommunityRequest + AccessToken string + ClientId uint64 + SteamId uint64 type FinalizeLoginCommunityResponse + func FinalizeLoginCommunity(request FinalizeLoginCommunityRequest) (response FinalizeLoginCommunityResponse, err *status.Exception) v0.0.11 Sep 1, 2023 v0.0.10 Sep 1, 2023 Changes in this version + func GetAccountId(session SteamCommunitySession) (accountId string, err *status.Exception) v0.0.9 Aug 11, 2023 Changes in this version + const REGISTER_CDKEY_ACCOUNT_NEED_MAIN_GAME + const REGISTER_CDKEY_ACCOUNT_REGION_INCONSISTENT + const REGISTER_CDKEY_ACCOUNT_TOO_MANY_REQUEST + const REGISTER_CDKEY_INCOMPATIBLE_ERROR v0.0.8 Aug 2, 2023 Changes in this version type LoginCommunityResponse + ClearPasswordField bool v0.0.7 Aug 2, 2023 v0.0.6 Aug 2, 2023 v0.0.5 Aug 2, 2023 Changes in this version + const STEAM_ADD_FREE_LICENSE_WEBAPI + func AddFreeLicense(session SteamCommunitySession, licenseId string) *status.Exception v0.0.4 Jul 14, 2023 v0.0.3 Jul 14, 2023 Changes in this version + const STEAM_DEAUTHORIZE_ALL_DEVICES_WEBAPI + func DeauthorizeAllDevices(session SteamCommunitySession) *status.Exception v0.0.2 Jul 14, 2023 Changes in this version + const AUTH_INVALID_CREDENTIALS_ERROR + const BEGIN_AUTH_SESSION_VIA_CREDENTIALS_ERROR + const CHANGE_PASSWORD_REQUEST_ERROR + const CHANGE_PASSWORD_REQUEST_FAIL + const CHECK_PASSWORD_AVAILABLE_ERROR + const CONFIRM_AUTH_SESSION_FAIL + const CONFIRM_FROM_MOBILE_ERROR + const ENCRYPT_RSA_ERROR + const GET_CONFIRMATIONS_FROM_MOBILE_ERROR + const GET_NEXT_STEP_FOR_ACCOUNT_RECOVERY_ERROR + const GET_RSA_PUBLIC_KEY_ERROR + const GET_USER_OWNED_APPS_ERROR + const LOGIN_INFO_ENTER_CODE_ERROR + const POLL_ACCOUNT_RECOVERY_CONFIRMATION_ERROR + const POLL_AUTH_SESSION_ERROR + const RECEIVE_PASSWORD_CHANGE_PARAMS_ERROR + const RECOVER_VERIFY_PASSWORD_ERROR + const REGISTER_CDKEY_ALREADY_ACTIVATED_IN_OTHER_ACCOUNT + const REGISTER_CDKEY_ALREADY_ACTIVATED_IN_THIS_ACCOUNT + const REGISTER_CDKEY_ERROR + const REGISTER_CDKEY_INVALID_KEY + const REQUEST_LOGIN_FROM_MOBILE_ERROR + const SEND_ACCOUNT_RECOVERY_CODE_ERROR + const STEAM_ACCOUNT_RECOVERY_CHANGE_PASSWORD + const STEAM_ACCOUNT_RECOVERY_GET_NEXT_STEP + const STEAM_ACCOUNT_RECOVERY_VERIFY_PASSWORD + const STEAM_ADD_AUTHENTICATOR_WEBAPI_V1 + const STEAM_API_WEB_BASE + const STEAM_AUTH_REQUEST_ERROR + const STEAM_BEGIN_AUTHSESSION_VIA_CREDENTIALS_WEBAPI_V1 + const STEAM_CHECK_PASSWORD_AVAILABLE + const STEAM_COMMUNITY_DO_LOGIN + const STEAM_COMMUNITY_DO_LOGIN_ERROR + const STEAM_COMMUNITY_FINALIZE_LOGIN_ERROR + const STEAM_COMMUNITY_FINALIZE_LOGIN_FAIL + const STEAM_COMMUNITY_LOGIN_GET_RSAKEY + const STEAM_COMMUNITY_LOGIN_URL + const STEAM_COMMUNITY_MOBILE_REQUEST_REFER + const STEAM_COMMUNITY_WEB_BASE + const STEAM_CONFIRM_FROM_MOBILE_WEBAPI + const STEAM_FINALIZE_AUTHENTICATOR_WEBAPI_V1 + const STEAM_GET_CONFIRMATIONS_FROM_MOBILE_WEBAPI + const STEAM_GET_PASSWORD_RSAPUBLICKEY_WEBAPI_V1 + const STEAM_GUARD_ADD_PHONE_FAIL + const STEAM_GUARD_CHECK_SMS_CODE_FAIL + const STEAM_GUARD_EMAIL_CONFIRMATION_FAIL + const STEAM_GUARD_NO_PHONE_ATTACHED + const STEAM_GUARD_REQUEST_ERROR + const STEAM_GUARD_RESEND_SMS_CODE_FAIL + const STEAM_GUARD_VALIDATE_PHONE_NUMBER_FAIL + const STEAM_HELP_CHANGE_PASSWORD + const STEAM_HELP_REQUEST_ERROR + const STEAM_HELP_WEB_BASE + const STEAM_HELP_WITH_LOGIN_INFO_ENTER_CODE + const STEAM_INVALID_SMS_CODE + const STEAM_LOGIN_FINALIZE_LOGIN + const STEAM_LOGIN_WEB_BASE + const STEAM_MOBILE_REQUEST_REFER + const STEAM_PARENTAL_REQUEST_ERROR + const STEAM_PARENTAL_UNLOCK_WEBAPI + const STEAM_PHONE_ADD_WEBAPI + const STEAM_PHONE_GUARD_WEBAPI + const STEAM_PHONE_VALIDATION_WEBAPI + const STEAM_POLL_ACCOUNT_RECOVERY_CONFIRMATION + const STEAM_POLL_AUTHSESSION_STATUS_WEBAPI_V1 + const STEAM_QUERY_TIME_WEBAPI_V1 + const STEAM_REDEEM_WALLET_CODE_WEBAPI + const STEAM_REGISTER_CDKEY_WEBAPI + const STEAM_REMOVE_AUTHENTICATOR_WEBAPI_V1 + const STEAM_REQUEST_ERROR + const STEAM_REQUEST_FAIL + const STEAM_REQUEST_FREQ + const STEAM_REQUEST_INCOMP + const STEAM_REQUEST_OK + const STEAM_REQUEST_RETRY + const STEAM_SEND_ACCOUNT_RECOVERY_CODE + const STEAM_STORE_REQUEST_ERROR + const STEAM_STORE_WEB_BASE + const STEAM_TRADE_REQUEST_ERROR + const STEAM_TWOFACTOR_REQUEST_ERROR + const STEAM_UNABLE_TO_GENERATE_CORRECT_CODE + const STEAM_UPDATE_AUTHSESSION_WITH_STEAM_GUARD_CODE_WEBAPI_V1 + const STEAM_USER_DATA_WEBAPI + const STEAM_VERIFY_ACCOUNT_RECOVERY_CODE + const UPDATE_AUTH_SESSION_WITH_STEAM_GUARD_CODE_ERROR + const VERIFY_ACCOUNT_RECOVERY_CODE_ERROR + var TWO_FACTOR_BASE = STEAM_API_WEB_BASE + "/ITwoFactorService/%s/v0001" + var TWO_FACTOR_TIME_QUERY = strings.ReplaceAll(TWO_FACTOR_BASE, "%s", "QueryTime") + func AddPhoneNumber(session SteamCommunitySession, phoneNumber string) *status.Exception + func ChangePassword(session SteamCommunitySession, auth Authenticator, ...) (bool, *status.Exception) + func CheckEmailConfirmation(session SteamCommunitySession, repeat bool) *status.Exception + func CheckSMSCode(session SteamCommunitySession, smsCode string) *status.Exception + func ConfirmByTradeOfferIdFromMobile(session SteamCommunitySession, auth Authenticator, tradeOfferId int64) (bool, *status.Exception) + func ConfirmFromMobile(session SteamCommunitySession, auth Authenticator, ...) (bool, *status.Exception) + func FinalizeAuthenticator(request FinalizeAuthenticatorRequest) (ok bool, err *status.Exception) + func GetCurrentSteamChunk() int64 + func GetSteamTime() int64 + func GetTwoFactor(sharedSecret string) string + func IsNeedParentalLock(session SteamCommunitySession) (bool, *status.Exception) + func RedeemWalletCode(session *SteamCommunitySession, code string) (bool, *status.Exception) + func RegisterCDKey(session SteamCommunitySession, cdKey string) (bool, *status.Exception) + func RemoveAuthenticator(request RemoveAuthenticatorRequest) (ok bool, err *status.Exception) + func ResendSMSCode(session SteamCommunitySession) *status.Exception + func UnlockParentalLock(session *SteamCommunitySession, code string) (bool, *status.Exception) + func ValidatePhoneNumber(session SteamCommunitySession, phoneNumber string) *status.Exception + type AddAuthenticatorRequest struct + AccessToken string + DeviceId string + SteamId uint64 + type Authenticator struct + AccountName string + DeviceId string + FullyEnrolled bool + IdentitySecret string + RevocationCode string + Secret1 string + SerialNumber string + ServerTime string + SharedSecret string + Status int + SteamId string + TokenGid string + Uri string + func AddAuthenticator(request AddAuthenticatorRequest) (auth Authenticator, err *status.Exception) + type BeginLoginRequest struct + ClientId uint64 + EmailCode string + Password string + SteamId uint64 + TwoFactor string + Username string + type BeginLoginResponse struct + ClientId uint64 + DeviceConfirmation bool + EmailCodeNeeded bool + EmailConfirmation bool + LoginComplete bool + RequestId []byte + SteamId uint64 + Success bool + TwoFactorNeeded bool + WeakToken string + func LoginFromMobile(request BeginLoginRequest) (response BeginLoginResponse, err *status.Exception) + type ChangePasswordResponse struct + ErrorMsg string + Hash string + type ConfirmLoginRequest struct + ClientId uint64 + DeviceCodeNeeded bool + EmailCode string + EmailCodeNeeded bool + RequestId []byte + SessionId string + SteamId uint64 + TwoFactor string + type ConfirmLoginResponse struct + AccessToken string + ClientId uint64 + RefreshToken string + SessionId string + SteamId uint64 + Success bool + func ConfirmLogin(request ConfirmLoginRequest) (response ConfirmLoginResponse, err *status.Exception) + type ConfirmResponse struct + Success bool + type EncryptedPasswordData struct + EncryptPassword string + Password string + Timestamp uint64 + Username string + func EncryptPasswordWithRSA(username, password string) (data EncryptedPasswordData, err *status.Exception) + type FinalizeAuthenticatorRequest struct + AccessToken string + GuardCode string + PhoneNum string + SmsCode string + SteamId uint64 + type FinalizeLoginCommunityRequest struct + RefreshToken string + SessionId string + type FinalizeLoginCommunityResponse struct + Cookies []*http.Cookie + SessionId string + func FinalizeLoginCommunityFromMobile(request FinalizeLoginCommunityRequest) (response FinalizeLoginCommunityResponse, err *status.Exception) + type GuardCheckResponse struct + Success bool + type LoginCommunityRequest struct + CaptchaGid string + CaptchaText string + EmailCode string + Password string + SessionId string + SteamId string + TwoFactorCode string + Username string + type LoginCommunityResponse struct + CaptchaGid string + CaptchaNeeded bool + EmailAuthNeeded bool + EmailSteamId string + LoginComplete bool + Message string + RequiresTwoFactor bool + Session SteamCommunitySession + SessionId string + Success bool + TransferParams transferParameters + func LoginCommunityFromMobile(request LoginCommunityRequest) (result LoginCommunityResponse, err *status.Exception) + type MobileConfirmation struct + CreatorId string + Id string + Nonce string + Type int + func GetMobileConfirmations(session SteamCommunitySession, auth Authenticator) ([]MobileConfirmation, *status.Exception) + type MobileConfirmationsResponse struct + Conf []MobileConfirmation + Success bool + type PasswordChangeParams struct + Account int + Issueid int + Lost int + NeedPassword int + Reset int + S int + type PollAccountRecoveryConfirmation struct + Continue bool + Success bool + type RecoveryPasswordResponse struct + ErrorMsg string + Hash string + type RemoveAuthenticatorRequest struct + AccessToken string + RevocationCode string + Scheme int + SteamId uint64 + type RsaKeyResponse struct + PublickeyExp string + PublickeyMod string + Success bool + Timestamp string + TokenGid string + type SendAccountRecoveryCodeResponse struct + Success bool + type SteamCommunitySession struct + Cookies []*http.Cookie + SessionId string + SteamId string + SteamLogin string + SteamLoginSecure string + WebCookie string + WgToken string + WgTokenSecure string + type TimeQuery struct + Response struct{ ... } + type UserData struct + OwnedApps []int + func GetUserData(session SteamCommunitySession) (useData UserData, err *status.Exception) + type VerifyAccountRecoveryCodeResponse struct + ErrorMsg string + Hash string v0.0.1 Jun 29, 2023