Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/150'
Browse files Browse the repository at this point in the history
Close #150
  • Loading branch information
weierophinney committed Oct 11, 2016
2 parents a96428c + a1ba793 commit e7d8330
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/oauth2.local.php.dist
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
return array(
'zf-oauth2' => array(
'db' => array(
return [
'zf-oauth2' => [
'db' => [
'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
),
);
],
];

0 comments on commit e7d8330

Please sign in to comment.