alternativeSecondFactors

Returns a list of alternative second factors, sorted by a predefined order, excluding the provided factor.

This function filters the SignIn.supportedSecondFactors to remove the specified factor and then sorts the remaining factors based on the strategySortOrderBackupCodePref list. Factors not found in the sort order list are placed at the end.

Return

A list of alternative second factors, sorted according to the predefined order.

Parameters

factor

The factor to exclude from the returned list.