informaticauco / simplesamlphp-module-authchain
AuthSource Chain Authentication
Installs: 114
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 3
Open Issues: 1
Type:simplesamlphp-module
Requires
- php: >=8.1
- simplesamlphp/assert: ^1.1
- simplesamlphp/composer-module-installer: ^1.3
- simplesamlphp/simplesamlphp: ^2.2
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-19 22:45:57 UTC
README
This module try to identify an user with multiple AuthSources in chain.
Requirements
- PHP>=5.5
Installation
Installation can be as easy as executing:
bash$ composer require informaticauco/simplesamlphp-module-authchain
Usage
Edit config/authsources.php
and add the next authsource:
<?php use SimpleSAML\Modules\AuthChain\Auth\Source\AuthChain; $config['as1'] = [/*...*/]; $config['as2'] = [/*...*/]; $config['chained'] = [AuthChain::class, 'sources' => ['as1', 'as2'], ];
AuthSources defined in sources section must support array function login(string $username, string $password)
method or will be ignored. The first AuthSource to identify the user will be used.