alternativeFirstFactors
Retrieves a list of alternative first factors for the current sign-in attempt, excluding the specified factor and certain strategy types.
This function filters the SignIn.supportedFirstFactors to provide alternative options for first-factor authentication. It excludes the currently provided factor, reset factors, OAuth, Enterprise SSO, and SAML strategies. The remaining factors are then sorted based on a predefined order, with unknown strategies placed at the end.
Return
A List of alternative Factor objects, sorted by preference. Returns an empty list if no suitable alternatives are found or if SignIn.supportedFirstFactors is null.
Parameters
factor
The Factor to exclude from the list of alternatives.