filsh / yii2-oauth2-server

A wrapper for implementing an OAuth2 Server(https://github.com/bshaffer/oauth2-server-php)
MIT License
332 stars 167 forks source link

added `Module::$options` in a compatible fashion #75

Closed hiqsol closed 8 years ago

hiqsol commented 8 years ago

It makes possible to use options array to pass any of 20+ bshaffer's OAuth2 Server parameters. It doesn't brake compatibility with existing tokenParamName, tokenAccessLifetime and useJwtToken parameters.

Also it makes tokenParamName optional, you may not specify it which results in default token name access_token.

ebuzzz commented 8 years ago

Please pull this commit, because without it, it makes the current wrapper kind of useless...

filsh commented 8 years ago

done