lib/Janrain/Api/Engage/Engage.php
public function setAuthProviders(array $params = array())
	{
		if (!isset($params['providers'])) {
			throw new MissingArgumentException('providers');
		}

		if (!is_array($params['providers'])) {
			throw new InvalidArgumentException('Invalid Argument: providers must be passed as array');
		}

		$params['providers'] = json_encode(array_values($params['providers']));

		return $this->post('set_auth_providers', $params);
	}
public function setAuthProviders(array $params = array())
	{
		if (!isset($params['providers'])) {
			throw new MissingArgumentException('providers');
		}

		if (!is_array($params['providers'])) {
			throw new InvalidArgumentException('Invalid Argument: providers must be passed as array');
		}

		$params['providers'] = json_encode(array_values($params['providers']));

		return $this->post('set_auth_providers', $params);
	}
public function setAuthProviders ( array $ params = array ( ) ) { if ( ! isset ( $ params [ 'providers' ] ) ) { throw new MissingArgumentException ( 'providers' ) ; } if ( ! is_array ( $ params [ 'providers' ] ) ) { throw new InvalidArgumentException ( 'Invalid Argument: providers must be passed as array' ) ; } $ params [ 'providers' ] = json_encode ( array_values ( $ params [ 'providers' ] ) ) ; return $ this -> post ( 'set_auth_providers' , $ params ) ; }
Defines the list of identity providers provided by the Engage server to
sign-in widgets. This is the same list that is managed by the dashboard.

@param array $params
Defines the list of identity providers provided by the Engage server to sign - in widgets . This is the same list that is managed by the dashboard .