Revert "Update to latest proto definitions from SteamDatabase/Protobufs"

This reverts commit 9946f23749 for BC reasons.
This commit is contained in:
Robin Appelman 2025-10-19 14:53:08 +02:00
commit 70a102b373
127 changed files with 28656 additions and 40688 deletions

View file

@ -11,12 +11,6 @@ enum EAuthTokenPlatformType {
k_EAuthTokenPlatformType_MobileApp = 3;
}
enum EAuthTokenAppType {
k_EAuthTokenAppType_Unknown = 0;
k_EAuthTokenAppType_Mobile_SteamApp = 1;
k_EAuthTokenAppType_Mobile_ChatApp = 2;
}
enum EAuthSessionGuardType {
k_EAuthSessionGuardType_Unknown = 0;
k_EAuthSessionGuardType_None = 1;
@ -47,17 +41,6 @@ enum EAuthenticationType {
k_EAuthenticationType_GuestAccount = 4;
}
enum EAuthTokenState {
k_EAuthTokenState_Invalid = 0;
k_EAuthTokenState_New = 1;
k_EAuthTokenState_Confirmed = 2;
k_EAuthTokenState_Issued = 3;
k_EAuthTokenState_Denied = 4;
k_EAuthTokenState_LoggedOut = 5;
k_EAuthTokenState_Consumed = 6;
k_EAuthTokenState_Revoked = 99;
}
enum EAuthTokenRevokeAction {
k_EAuthTokenRevokeLogout = 0;
k_EAuthTokenRevokePermanent = 1;
@ -69,6 +52,17 @@ enum EAuthTokenRevokeAction {
k_EAuthTokenRevokeAutomatic = 7;
}
enum EAuthTokenState {
k_EAuthTokenState_Invalid = 0;
k_EAuthTokenState_New = 1;
k_EAuthTokenState_Confirmed = 2;
k_EAuthTokenState_Issued = 3;
k_EAuthTokenState_Denied = 4;
k_EAuthTokenState_LoggedOut = 5;
k_EAuthTokenState_Consumed = 6;
k_EAuthTokenState_Revoked = 99;
}
message CAuthentication_GetPasswordRSAPublicKey_Request {
optional string account_name = 1;
}
@ -86,7 +80,6 @@ message CAuthentication_DeviceDetails {
optional uint32 gaming_device_type = 4;
optional uint32 client_count = 5;
optional bytes machine_id = 6;
optional .EAuthTokenAppType app_type = 7 [default = k_EAuthTokenAppType_Unknown];
}
message CAuthentication_BeginAuthSessionViaQR_Request {
@ -170,33 +163,6 @@ message CAuthentication_GetAuthSessionInfo_Response {
optional bool requestor_location_mismatch = 10;
optional bool high_usage_login = 11;
optional .ESessionPersistence requested_persistence = 12 [default = k_ESessionPersistence_Invalid];
optional int32 device_trust = 13;
optional .EAuthTokenAppType app_type = 14 [default = k_EAuthTokenAppType_Unknown];
}
message CAuthentication_GetAuthSessionRiskInfo_Request {
optional uint64 client_id = 1;
optional uint32 language = 2;
}
message CAuthentication_GetAuthSessionRiskInfo_Response {
optional string location_confirmer = 1;
optional string location_requestor = 2;
optional string location_other = 3;
optional .EAuthTokenPlatformType platform_type = 4 [default = k_EAuthTokenPlatformType_Unknown];
}
message CAuthentication_NotifyRiskQuizResults_Notification {
message RiskQuizResults {
optional bool platform = 1;
optional bool location = 2;
optional bool action = 3;
}
optional uint64 client_id = 1;
optional .CAuthentication_NotifyRiskQuizResults_Notification.RiskQuizResults results = 2;
optional string selected_action = 3;
optional bool did_confirm_login = 4;
}
message CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
@ -234,7 +200,6 @@ message CAuthentication_AccessToken_GenerateForApp_Response {
}
message CAuthentication_RefreshToken_Enumerate_Request {
optional bool include_revoked = 1 [default = false];
}
message CAuthentication_RefreshToken_Enumerate_Response {
@ -260,7 +225,6 @@ message CAuthentication_RefreshToken_Enumerate_Response {
optional .CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent last_seen = 10;
optional int32 os_type = 11;
optional .EAuthenticationType authentication_type = 12 [default = k_EAuthenticationType_Unknown];
optional .EAuthTokenState effective_token_state = 13 [default = k_EAuthTokenState_Invalid];
}
repeated .CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription refresh_tokens = 1;
@ -367,14 +331,6 @@ message CAuthenticationSupport_GetTokenHistory_Response {
repeated .CSupportRefreshTokenAudit history = 1;
}
message CAuthenticationSupport_MarkTokenCompromised_Request {
optional fixed64 steamid = 1;
optional fixed64 token_id = 2;
}
message CAuthenticationSupport_MarkTokenCompromised_Response {
}
message CCloudGaming_CreateNonce_Request {
optional string platform = 1;
optional uint32 appid = 2;
@ -405,8 +361,6 @@ service Authentication {
rpc BeginAuthSessionViaCredentials (.CAuthentication_BeginAuthSessionViaCredentials_Request) returns (.CAuthentication_BeginAuthSessionViaCredentials_Response);
rpc PollAuthSessionStatus (.CAuthentication_PollAuthSessionStatus_Request) returns (.CAuthentication_PollAuthSessionStatus_Response);
rpc GetAuthSessionInfo (.CAuthentication_GetAuthSessionInfo_Request) returns (.CAuthentication_GetAuthSessionInfo_Response);
rpc GetAuthSessionRiskInfo (.CAuthentication_GetAuthSessionRiskInfo_Request) returns (.CAuthentication_GetAuthSessionRiskInfo_Response);
rpc NotifyRiskQuizResults (.CAuthentication_NotifyRiskQuizResults_Notification) returns (.NoResponse);
rpc UpdateAuthSessionWithMobileConfirmation (.CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request) returns (.CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response);
rpc UpdateAuthSessionWithSteamGuardCode (.CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request) returns (.CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response);
rpc GenerateAccessTokenForApp (.CAuthentication_AccessToken_GenerateForApp_Request) returns (.CAuthentication_AccessToken_GenerateForApp_Response);
@ -422,7 +376,6 @@ service AuthenticationSupport {
rpc QueryRefreshTokenByID (.CAuthenticationSupport_QueryRefreshTokenByID_Request) returns (.CAuthenticationSupport_QueryRefreshTokenByID_Response);
rpc RevokeToken (.CAuthenticationSupport_RevokeToken_Request) returns (.CAuthenticationSupport_RevokeToken_Response);
rpc GetTokenHistory (.CAuthenticationSupport_GetTokenHistory_Request) returns (.CAuthenticationSupport_GetTokenHistory_Response);
rpc MarkTokenCompromised (.CAuthenticationSupport_MarkTokenCompromised_Request) returns (.CAuthenticationSupport_MarkTokenCompromised_Response);
}
service CloudGaming {