sspmod_saml_IdP_SQLNameID::getStore PHP Method

getStore() private static method

Will also ensure that the NameID table is present.
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;
    }