def get_idp_choices():
try:<EOL><INDENT>from third_party_auth.provider import Registry   <EOL><DEDENT>except ImportError as exception:<EOL><INDENT>LOGGER.warning("<STR_LIT>")<EOL>LOGGER.warning(exception)<EOL>Registry = None  <EOL><DEDENT>first = [("<STR_LIT>", "<STR_LIT:->" * <NUM_LIT:7>)]<EOL>if Registry:<EOL><INDENT>return first + [(idp.provider_id, idp.name) for idp in Registry.enabled()]<EOL><DEDENT>return None<EOL>
Get a list of identity providers choices for enterprise customer.

Return:
    A list of choices of all identity providers, None if it can not get any available identity provider.