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.
27 {
28 assert(is_array(
$info));
30
31
33
34
35
36 try {
38 } catch(Exception $e) {
39 throw new Exception('Invalid attributes for authentication source ' .
40 $this->authId . ': ' . $e->getMessage());
41 }
42
43 }
static normalizeAttributesArray($attributes)
Validate and normalize an array with attributes.
References $config, $info, and SimpleSAML\Utils\Attributes\normalizeAttributesArray().
◆ authenticate()
sspmod_exampleauth_Auth_Source_Static::authenticate |
( |
& |
$state | ) |
|
Log in using static attributes.
- Parameters
-
array | &$state | Information about the current authentication. |
Reimplemented from SimpleSAML_Auth_Source.
Definition at line 51 of file Static.php.
51 {
53
55 }
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
$attributes
The attributes we return.
References $attributes, and $state.
◆ $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