Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Added the options for client credential and refresh token + fixed unit test for MongoDb #43

Merged
merged 1 commit into from Jun 2, 2014

Conversation

Projects
None yet
2 participants
Owner

ezimuel commented May 30, 2014

I added the options for client credential and refresh token grant types. In particular, the refresh token option always_issue_new_refresh_token set to true generate a new refresh_token on each refresh call.
I added the options key in the zf-oauth2 configuration, to be able to pass all the parameters of the OAuth2\Server class.
I also fixed the unit test for the MongoDb adapter, now if MongoDb is not running it does not report errors.

Owner

weierophinney commented May 31, 2014

Run ./vendor/bin/php-cs-fixer -v fix . -- there are some trailing whitespaces currently: https://travis-ci.org/zfcampus/zf-oauth2/jobs/26400132#L119

@weierophinney weierophinney merged commit e2582aa into zfcampus:master Jun 2, 2014

1 check failed

continuous-integration/travis-ci The Travis CI build failed
Details

@weierophinney weierophinney added a commit that referenced this pull request Jun 2, 2014

@weierophinney weierophinney Merge pull request #43 from ezimuel/feature/refresh-token-options
Added the options for client credential and refresh token + fixed unit test  for MongoDb
db33210

@weierophinney weierophinney added a commit that referenced this pull request Jun 2, 2014

@weierophinney weierophinney Merge branch 'hotfix/43'
Close #43
08a8413

@weierophinney weierophinney added a commit that referenced this pull request Jun 2, 2014

@weierophinney weierophinney Merge branch 'hotfix/43' into develop
Forward port #43
642d93d

@weierophinney weierophinney added this to the 1.0.2 milestone Jun 2, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment