Update to latest proto definitions from SteamDatabase/Protobufs

From commit 085746bbf6b48d1b89b7a63e7876932793f4c08f
This commit is contained in:
TBK 2025-10-18 20:00:55 +02:00 committed by Robin Appelman
commit 8ce47e5e16
127 changed files with 40662 additions and 28630 deletions

View file

@ -11,6 +11,12 @@ 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;
@ -41,17 +47,6 @@ enum EAuthenticationType {
k_EAuthenticationType_GuestAccount = 4;
}
enum EAuthTokenRevokeAction {
k_EAuthTokenRevokeLogout = 0;
k_EAuthTokenRevokePermanent = 1;
k_EAuthTokenRevokeReplaced = 2;
k_EAuthTokenRevokeSupport = 3;
k_EAuthTokenRevokeConsume = 4;
k_EAuthTokenRevokeNonRememberedLogout = 5;
k_EAuthTokenRevokeNonRememberedPermanent = 6;
k_EAuthTokenRevokeAutomatic = 7;
}
enum EAuthTokenState {
k_EAuthTokenState_Invalid = 0;
k_EAuthTokenState_New = 1;
@ -63,6 +58,17 @@ enum EAuthTokenState {
k_EAuthTokenState_Revoked = 99;
}
enum EAuthTokenRevokeAction {
k_EAuthTokenRevokeLogout = 0;
k_EAuthTokenRevokePermanent = 1;
k_EAuthTokenRevokeReplaced = 2;
k_EAuthTokenRevokeSupport = 3;
k_EAuthTokenRevokeConsume = 4;
k_EAuthTokenRevokeNonRememberedLogout = 5;
k_EAuthTokenRevokeNonRememberedPermanent = 6;
k_EAuthTokenRevokeAutomatic = 7;
}
message CAuthentication_GetPasswordRSAPublicKey_Request {
optional string account_name = 1;
}
@ -80,6 +86,7 @@ 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 {
@ -163,6 +170,33 @@ 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 {
@ -200,6 +234,7 @@ message CAuthentication_AccessToken_GenerateForApp_Response {
}
message CAuthentication_RefreshToken_Enumerate_Request {
optional bool include_revoked = 1 [default = false];
}
message CAuthentication_RefreshToken_Enumerate_Response {
@ -225,6 +260,7 @@ 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;
@ -331,6 +367,14 @@ 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;
@ -361,6 +405,8 @@ 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);
@ -376,6 +422,7 @@ 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 {