Method getFieldsLogin

You have to put the parameters required to connect to your solution in the method getFieldsLogin.

For example, if you need an url and an APIkey you can create this method :

tuto_connecteur_method_getfieldslogin

Code available in the file <Myddleware>/src/Myddleware/RegleBundle/Solutions/shopapplication.php

If the field you need doesn’t exit in the language file <myddlware>/src/Myddleware/RegleBundle/Resources/translations ($solution->field), you can add its translation here.

Now, click on Connector->Creation, then select your application, the parameters you have added in your function should be visible :

tuto_connecteur_check_parameters

We will now develop the login function.