Skip to content

Commit

Permalink
Merge pull request #89 from bojanz/fix-config-references
Browse files Browse the repository at this point in the history
Fix incorrect references to config variables.
  • Loading branch information
bshaffer committed Apr 5, 2013
2 parents cdd45f2 + c009b78 commit 728b183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OAuth2/Server.php
Expand Up @@ -299,9 +299,9 @@ public function handleAuthorizeRequest(OAuth2_RequestInterface $request, $is_aut
/** /**
* Pull the authorization request data out of the HTTP request. * Pull the authorization request data out of the HTTP request.
* - The redirect_uri is OPTIONAL as per draft 20. But your implementation can enforce it * - The redirect_uri is OPTIONAL as per draft 20. But your implementation can enforce it
* by setting CONFIG_ENFORCE_INPUT_REDIRECT to true. * by setting $config['enforce_redirect'] to true.
* - The state is OPTIONAL but recommended to enforce CSRF. Draft 21 states, however, that * - The state is OPTIONAL but recommended to enforce CSRF. Draft 21 states, however, that
* CSRF protection is MANDATORY. You can enforce this by setting the CONFIG_ENFORCE_STATE to true. * CSRF protection is MANDATORY. You can enforce this by setting the $config['enforce_state'] to true.
* *
* The draft specifies that the parameters should be retrieved from GET, override the Response * The draft specifies that the parameters should be retrieved from GET, override the Response
* object to change this * object to change this
Expand Down

0 comments on commit 728b183

Please sign in to comment.