private static getStore ( ) : SimpleSAML_Store_SQL | ||
return | SimpleSAML_Store_SQL | SQL datastore. |
private static function getStore()
{
$store = SimpleSAML_Store::getInstance();
if (!$store instanceof SimpleSAML_Store_SQL) {
throw new SimpleSAML_Error_Exception('SQL NameID store requires SimpleSAMLphp to be configured with a SQL datastore.');
}
self::createTable($store);
return $store;
}