Loading config/oauth2.local.php.dist 0 → 100644 +18 −0 Original line number Diff line number Diff line <?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 config/unicaen-oauth.local.php.dist +0 −11 Original line number Diff line number Diff line Loading @@ -20,15 +20,4 @@ return array( 'password' => "xxxxxxxxxxxx", 'accountFilterFormat' => "(&(objectClass=posixAccount)(supannAliasLogin=%s))", ), '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' => false, // 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 ), ); No newline at end of file Loading
config/oauth2.local.php.dist 0 → 100644 +18 −0 Original line number Diff line number Diff line <?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
config/unicaen-oauth.local.php.dist +0 −11 Original line number Diff line number Diff line Loading @@ -20,15 +20,4 @@ return array( 'password' => "xxxxxxxxxxxx", 'accountFilterFormat' => "(&(objectClass=posixAccount)(supannAliasLogin=%s))", ), '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' => false, // 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 ), ); No newline at end of file