<?php

error_reporting(E_ALL & ~E_NOTICE);

include_once('include/JWT/JWT.php');

return (object) array(
	'LDAP'	=> [
		'Server'	=> 'server.domain.tld',
		// FQDN of the LDAP-server
		'Port'		=> 389,
		// Port of the LDAP-server; default port is 389
		'BaseDN'	=> 'OU=Users,DC=domain,DC=tld',
		// Location of your useraccounts
		// Syntax:
		//   'OU=container,DC=domain,DC=tld'
		'Domain'	=> 'domain'
		// Specify the NetBios name of the domain; to allow users to log on with just their usernames.
	],

	'DomainNames'	=> ['*.subdomain.domain.{(tld1|tld2)}'],

	'Sqlite'	=> [
		'Path'	=> '../config/lucidAuth.sqlite.db'
		// Relative path to the location where the database should be stored
	],
	
	'ApiKeyFile' => 'externalResource.api.key',
	// File containing your <externalresource> token
  
	'JWT'	=> [
		'PrivateKey_base64'	=> 'result of base64_encode(<longrandomstring>)',
		'Algorithm'			=> [
			'HS256',
		]
	],

	'Cookie'	=> [
		'Duration'	=> 2592000,
		// In seconds (2592000 is equivalent to 30 days)
#		'Prefix'		=> 'lucidAuth_'
	],
	
	'Debug'	=> [
		'Verbose'	=> False,
		'LogToFile'	=> False
	]

);

?>