@@ -1105,50 +1105,6 @@ interface IncomingDeviceCommand {
11051105 TabsClosed(Device? sender, CloseTabsPayload payload);
11061106};
11071107
1108- /// Machinery for dry-run testing of FxaAuthStateMachine
1109- ///
1110- /// Remove this once we've migrated the firefox-android and firefox-ios code to using FxaAuthStateMachine
1111- /// https:///bugzilla.mozilla.org/show_bug.cgi?id=1867793
1112-
1113- interface FxaStateMachineChecker {
1114- constructor();
1115-
1116- void handle_public_event(FxaEvent event);
1117- void handle_internal_event(FxaStateCheckerEvent event);
1118- void check_public_state(FxaState state);
1119- void check_internal_state(FxaStateCheckerState state);
1120- };
1121-
1122- [Enum]
1123- interface FxaStateCheckerEvent {
1124- GetAuthStateSuccess(FxaRustAuthState auth_state);
1125- BeginOAuthFlowSuccess(string oauth_url);
1126- BeginPairingFlowSuccess(string oauth_url);
1127- CompleteOAuthFlowSuccess();
1128- InitializeDeviceSuccess();
1129- EnsureDeviceCapabilitiesSuccess();
1130- CheckAuthorizationStatusSuccess(boolean active);
1131- DisconnectSuccess();
1132- GetProfileSuccess();
1133- CallError();
1134- EnsureCapabilitiesAuthError();
1135- };
1136-
1137- [Enum]
1138- interface FxaStateCheckerState {
1139- GetAuthState();
1140- BeginOAuthFlow(sequence<string> scopes, string entrypoint);
1141- BeginPairingFlow(string pairing_url, sequence<string> scopes, string entrypoint);
1142- CompleteOAuthFlow(string code, string state);
1143- InitializeDevice();
1144- EnsureDeviceCapabilities();
1145- CheckAuthorizationStatus();
1146- Disconnect();
1147- GetProfile();
1148- Complete(FxaState new_state);
1149- Cancel();
1150- };
1151-
11521108dictionary UserData {
11531109 string session_token;
11541110 string uid;
0 commit comments