PHP code example of feideconnect / simplesamlphp-module-cassandrastore

1. Go to this page and download the library: Download feideconnect/simplesamlphp-module-cassandrastore library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

feideconnect / simplesamlphp-module-cassandrastore example snippets


// Overridden in config.[prod/test].php
'metadata.sources' => array(
    array('type' => 'flatfile'),
    array('type' => 'cassandrastore:CassandraMetadataStore'),
),


'metastore.cassandra.keyspace' => $_ENV['CASSANDRA_KEYSPACE'],
'metastore.cassandra.nodes' => $_ENV['CASSANDRA_PORT_9042_TCP_ADDR'],
'metastore.cassandra.use_ssl' => false,
'metastore.cassandra.ssl_ca' => null,
'metastore.cassandra.username' => null,
'metastore.cassandra.password' => null,