MultiAuth module ================ The MultiAuth module provides a method for users to choosebetween a list of authentication sources. There is only one authentication module: `multiauth:MultiAuth` : Authenticate the user against a list of authentication sources. `multiauth:MultiAuth` --------------------- This module is useful when you want to let the users decide which authentication source fits better their needs at any scenario. For example, they can choose the `saml` authentication source in most cases and then switch to the `admin` authentication source when 'saml' is down for some reason. To create a MultiAuth authentication source, open `config/authsources.php` in a text editor, and add an entry for the authentication source: 'example-multi' => array( 'multiauth:MultiAuth', /* * The available authentication sources. * They must be defined in this authsources.php file. */ 'sources' => array( 'example-saml' => array( 'text' => array( 'en' => 'Log in using a SAML SP', 'es' => 'Entrar usando un SP SAML', ), 'css-class' => 'SAML', ), 'example-admin' => array( 'text' => array( 'en' => 'Log in using the admin password', 'es' => 'Entrar usando la contraseƱa de administrador', ), ), ), ), 'example-saml' => array( 'saml:SP', 'entityId' => 'my-entity-id', 'idp' => 'my-idp', ), 'example-admin' => array( 'core:AdminPassword', ), You should update the name of this authentication source (`example-multi`), and the authentication sources it references, to have a name which makes sense to your organization. The MultiAuth authentication sources only has an option: the `sources` option, and it is required. It is an array of other authentication sources defined in the `config/authsources.php` file. The order in this array does not matter since the user is the one that decides which one to use. The keys of the sources array are the identifiers of authentication sources defined in the authsources.php configuration file. The values are arrays with information used to create the user interface that will let the user select the authentication source he wants. Older versions of the multiauth module did not have this structure and just have the authsources identifiers as the values of the sources array. It has been improved in a backwards compatibility fashion so both cases should work. So each source in the sources array has a key and a value. As mentioned above the key is the authsource identifier and the value is another array with two optional keys: 'text' and 'css-class'. The text element is another array with localized strings for one or more languages. These texts will be shown in the selectsource.php view. Note that you should at least enter the text in the default language as specified in your config.php file. The css-class element is a string with the css class that will be applied to the