attributes = SimpleSAML\Utils\Attributes::normalizeAttributesArray($config); } catch(Exception $e) { throw new Exception('Invalid attributes for authentication source ' . $this->authId . ': ' . $e->getMessage()); } } /** * Log in using static attributes. * * @param array &$state Information about the current authentication. */ public function authenticate(&$state) { assert('is_array($state)'); $state['Attributes'] = $this->attributes; } }