system_api: Remove AuthenticateAuthSession
References to this are now gone from chromium and so with the cryptohome
implementation and test references also gone, we can delete this.
BUG=b:261090370
TEST=emerge-$BOARD cryptohome-client chromeos-base/system_api cryptohome
Change-Id: I07969710df85479d029b82f15c07897f736bbd66
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/4183457
Commit-Queue: John Admanski <jadmanski@chromium.org>
Tested-by: John Admanski <jadmanski@chromium.org>
Reviewed-by: Hardik Goyal <hardikgoyal@chromium.org>
NOKEYCHECK=True
GitOrigin-RevId: 9e4386fad806f1f8a5f3d6c74b8656119912d60d
diff --git a/dbus/cryptohome/UserDataAuth.proto b/dbus/cryptohome/UserDataAuth.proto
index f60bbd7..71376ea 100644
--- a/dbus/cryptohome/UserDataAuth.proto
+++ b/dbus/cryptohome/UserDataAuth.proto
@@ -745,31 +745,6 @@
CryptohomeErrorInfo error_info = 6;
}
-message AuthenticateAuthSessionRequest {
- // Serialized form of token that is used to identify Auth Session that needs
- // to be authenticated.
- bytes auth_session_id = 1;
- // Authorization data from the user.
- cryptohome.AuthorizationRequest authorization = 2;
-}
-
-message AuthenticateAuthSessionReply {
- // Error if any to authenticate the Auth Session.
- // TODO(b/229807416): Remove once CryptohomeError refactor is complete.
- CryptohomeErrorCode error = 1;
- // Returns if the Auth Session is authenticated.
- bool authenticated = 2;
-
- // Indicate an error if this field exists.
- // This field is replacing the |error| field above, for more information on
- // which field to use and the process on the migration, see comment in
- // CryptohomeErrorInfo.
- CryptohomeErrorInfo error_info = 3;
-
- // The time left in the current AuthSession after authentication.
- optional uint32 seconds_left = 4;
-}
-
message InvalidateAuthSessionRequest {
// Serialized form of token that is used to identify Auth Session that needs
// to be invalidated.
diff --git a/dbus/cryptohome/dbus-constants.h b/dbus/cryptohome/dbus-constants.h
index 5381d17..df6f4e4 100644
--- a/dbus/cryptohome/dbus-constants.h
+++ b/dbus/cryptohome/dbus-constants.h
@@ -49,7 +49,6 @@
inline constexpr char kStartAuthSession[] = "StartAuthSession";
inline constexpr char kAddCredentials[] = "AddCredentials";
inline constexpr char kUpdateCredential[] = "UpdateCredential";
-inline constexpr char kAuthenticateAuthSession[] = "AuthenticateAuthSession";
inline constexpr char kInvalidateAuthSession[] = "InvalidateAuthSession";
inline constexpr char kExtendAuthSession[] = "ExtendAuthSession";
inline constexpr char kCreatePersistentUser[] = "CreatePersistentUser";