'Gets the provider that is being used for the specified pipeline (or None).
Args:
running_pipeline: The python-social-auth pipeline being used to
authenticate a user.
Returns:
An instance of ProviderConfig or None.'

@classmethod
def get_from_pipeline(cls, running_pipeline):

    for enabled in cls._enabled_providers():
        if enabled.is_active_for_pipeline(running_pipeline):
            return enabled
