pythonhacktoberfeststeamauthenticationauthenticatorsteam-authenticatorsteam-clientsteam-guard-codessteam-websteamworksvalvewebapi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
5.3 KiB
142 lines
5.3 KiB
syntax = "proto2";
|
|
import "steammessages_base.proto";
|
|
import "steammessages_unified_base.proto";
|
|
|
|
option py_generic_services = true;
|
|
|
|
message CCredentials_TestAvailablePassword_Request {
|
|
optional string password = 1;
|
|
optional bytes sha_digest_password = 2;
|
|
optional string account_name = 3;
|
|
}
|
|
|
|
message CCredentials_TestAvailablePassword_Response {
|
|
optional bool is_valid = 3;
|
|
}
|
|
|
|
message CCredentials_GetSteamGuardDetails_Request {
|
|
optional bool include_new_authentications = 1 [default = true, (description) = "Whether or not to populate the newauthentication field in the response"];
|
|
optional string webcookie = 2 [(description) = "The user's Steam Guard machine auth cookie. If present, it'll be used to get the user's machine ID instead of the AM session."];
|
|
optional fixed32 timestamp_minimum_wanted = 3;
|
|
optional int32 deprecated_ipaddress = 4;
|
|
optional .CMsgIPAddress ip_address = 5;
|
|
}
|
|
|
|
message CCredentials_GetSteamGuardDetails_Response {
|
|
message NewAuthentication {
|
|
optional fixed32 timestamp_steamguard_enabled = 1;
|
|
optional bool is_web_cookie = 2;
|
|
optional int32 deprecated_ipaddress = 3;
|
|
optional string geoloc_info = 4;
|
|
optional bool is_remembered = 5;
|
|
optional string machine_name_user_supplied = 6;
|
|
optional int32 status = 7;
|
|
optional .CMsgIPAddress ip_address = 8;
|
|
}
|
|
|
|
message SessionData {
|
|
optional uint64 machine_id = 1;
|
|
optional string machine_name_userchosen = 2;
|
|
optional fixed32 timestamp_machine_steamguard_enabled = 3;
|
|
optional bool authentication_exists_from_geoloc_before_mintime = 4;
|
|
repeated .CCredentials_GetSteamGuardDetails_Response.NewAuthentication newauthentication = 5;
|
|
optional bool authentication_exists_from_same_ip_before_mintime = 6;
|
|
optional uint32 public_ipv4 = 7;
|
|
optional string public_ip_address = 8;
|
|
}
|
|
|
|
optional bool is_steamguard_enabled = 1;
|
|
optional fixed32 timestamp_steamguard_enabled = 2;
|
|
repeated .CCredentials_GetSteamGuardDetails_Response.NewAuthentication deprecated_newauthentication = 3;
|
|
optional string deprecated_machine_name_userchosen = 4;
|
|
optional fixed32 deprecated_timestamp_machine_steamguard_enabled = 5;
|
|
optional bool deprecated_authentication_exists_from_geoloc_before_mintime = 6;
|
|
optional uint64 deprecated_machine_id = 7;
|
|
repeated .CCredentials_GetSteamGuardDetails_Response.SessionData session_data = 8;
|
|
optional bool is_twofactor_enabled = 9;
|
|
optional fixed32 timestamp_twofactor_enabled = 10;
|
|
optional bool is_phone_verified = 11;
|
|
}
|
|
|
|
message CCredentials_NewMachineNotificationDialog_Request {
|
|
optional bool is_approved = 1;
|
|
optional bool is_wizard_complete = 2;
|
|
}
|
|
|
|
message CCredentials_NewMachineNotificationDialog_Response {
|
|
}
|
|
|
|
message CCredentials_ValidateEmailAddress_Request {
|
|
optional string stoken = 1;
|
|
}
|
|
|
|
message CCredentials_ValidateEmailAddress_Response {
|
|
optional bool was_validated = 1;
|
|
}
|
|
|
|
message CCredentials_SteamGuardPhishingReport_Request {
|
|
optional string param_string = 1;
|
|
optional string ipaddress_actual = 2;
|
|
}
|
|
|
|
message CCredentials_SteamGuardPhishingReport_Response {
|
|
optional string ipaddress_loginattempt = 1;
|
|
optional string countryname_loginattempt = 2;
|
|
optional string statename_loginattempt = 3;
|
|
optional string cityname_loginattempt = 4;
|
|
optional string ipaddress_actual = 5;
|
|
optional string countryname_actual = 6;
|
|
optional string statename_actual = 7;
|
|
optional string cityname_actual = 8;
|
|
optional string steamguard_code = 9;
|
|
}
|
|
|
|
message CCredentials_LastCredentialChangeTime_Request {
|
|
optional bool user_changes_only = 1;
|
|
}
|
|
|
|
message CCredentials_LastCredentialChangeTime_Response {
|
|
optional fixed32 timestamp_last_password_change = 1;
|
|
optional fixed32 timestamp_last_email_change = 2;
|
|
optional fixed32 timestamp_last_password_reset = 3;
|
|
}
|
|
|
|
message CCredentials_GetAccountAuthSecret_Request {
|
|
}
|
|
|
|
message CCredentials_GetAccountAuthSecret_Response {
|
|
optional int32 secret_id = 1;
|
|
optional bytes secret = 2;
|
|
}
|
|
|
|
service Credentials {
|
|
option (service_description) = "Credentials service";
|
|
|
|
rpc TestAvailablePassword (.CCredentials_TestAvailablePassword_Request) returns (.CCredentials_TestAvailablePassword_Response) {
|
|
option (method_description) = "TestAvailablePassword.";
|
|
}
|
|
|
|
rpc GetSteamGuardDetails (.CCredentials_GetSteamGuardDetails_Request) returns (.CCredentials_GetSteamGuardDetails_Response) {
|
|
option (method_description) = "GetSteamGuardDetails.";
|
|
}
|
|
|
|
rpc NewMachineNotificationDialogResult (.CCredentials_NewMachineNotificationDialog_Request) returns (.CCredentials_NewMachineNotificationDialog_Response) {
|
|
option (method_description) = "NewMachineNotificationDialogResult.";
|
|
}
|
|
|
|
rpc ValidateEmailAddress (.CCredentials_ValidateEmailAddress_Request) returns (.CCredentials_ValidateEmailAddress_Response) {
|
|
option (method_description) = "Validate an email address given a token";
|
|
}
|
|
|
|
rpc SteamGuardPhishingReport (.CCredentials_SteamGuardPhishingReport_Request) returns (.CCredentials_SteamGuardPhishingReport_Response) {
|
|
option (method_description) = "SteamGuardPhishingReport";
|
|
}
|
|
|
|
rpc GetCredentialChangeTimeDetails (.CCredentials_LastCredentialChangeTime_Request) returns (.CCredentials_LastCredentialChangeTime_Response) {
|
|
option (method_description) = "GetCredentialChangeTimeDetails.";
|
|
}
|
|
|
|
rpc GetAccountAuthSecret (.CCredentials_GetAccountAuthSecret_Request) returns (.CCredentials_GetAccountAuthSecret_Response) {
|
|
option (method_description) = "GetAccountAuthSecret";
|
|
}
|
|
}
|
|
|