Commit fa9df0ed authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Suppression des exemples de fichiers de config des modules "unicaen-ldap" et"...

Suppression des exemples de fichiers de config des modules "unicaen-ldap" et" oauth2" : il vaut mieux se reporter à la doc de chacun d'eux.
parent 8e461345
<?php
return array(
'zf-oauth2' => array(
'db' => array(
'dsn' => 'insert here the DSN for DB connection', // for example "mysql:dbname=oauth2_db;host=localhost"
'username' => 'insert here the DB username',
'password' => 'insert here the DB password',
),
'allow_implicit' => true, // not default (set to true when you need to support browser-based or mobile apps)
'access_lifetime' => 3600, // default (set a value in seconds for access tokens lifetime)
'enforce_state' => true, // default
'storage' => 'ZF\OAuth2\Adapter\PdoAdapter', // service name for the OAuth2 storage adapter
'options' => array(
'always_issue_new_refresh_token' => true,
),
),
);
\ No newline at end of file
<?php
return array(
'unicaen-ldap' => array(
'host' => 'host.domain.fr',
'port' => 389,
'version' => 3,
'baseDn' => "dc=domain,dc=fr",
'bindRequiresDn' => true,
'username' => "uid=xxxxxxx,ou=xxxxxxx,dc=domain,dc=fr",
'password' => "xxxxxxxxxx",
'accountFilterFormat' => "(&(objectClass=posixAccount)(supannAliasLogin=%s))",
)
);
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment