sspmod_saml_IdP_SQLNameID::getStore PHP 메소드

getStore() 개인적인 정적인 메소드

Will also ensure that the NameID table is present.
private static getStore ( ) : SimpleSAML_Store_SQL
리턴 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;
    }