Definition at line 12 of file Static.php.
◆ __construct()
sspmod_exampleauth_Auth_Source_Static::__construct |
( |
|
$info, |
|
|
|
$config |
|
) |
| |
Constructor for this authentication source.
- Parameters
-
array | $info | Information about this authentication source. |
array | $config | Configuration. |
Definition at line 27 of file Static.php.
References $config, $info, and SimpleSAML\Utils\Attributes\normalizeAttributesArray().
28 assert(
'is_array($info)');
29 assert(
'is_array($config)');
39 throw new Exception(
'Invalid attributes for authentication source ' .
40 $this->authId .
': ' . $e->getMessage());
static normalizeAttributesArray($attributes)
Validate and normalize an array with attributes.
◆ authenticate()
sspmod_exampleauth_Auth_Source_Static::authenticate |
( |
& |
$state | ) |
|
Log in using static attributes.
- Parameters
-
array | &$state | Information about the current authentication. |
Definition at line 51 of file Static.php.
References $attributes, and $state.
52 assert(
'is_array($state)');
$attributes
The attributes we return.
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
◆ $attributes
sspmod_exampleauth_Auth_Source_Static::$attributes |
|
private |
The documentation for this class was generated from the following file:
- libs/composer/vendor/simplesamlphp/simplesamlphp/modules/exampleauth/lib/Auth/Source/Static.php