-
Notifications
You must be signed in to change notification settings - Fork 156
/
Copy pathsteammessages_credentials.proto
142 lines (117 loc) · 5.27 KB
/
steammessages_credentials.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
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";
}
}