Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #89 from bojanz/fix-config-references

Fix incorrect references to config variables.
  • Loading branch information...
commit 728b183a024eb804b6d02bb43328bc62fcb99063 2 parents cdd45f2 + c009b78
@bshaffer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/OAuth2/Server.php
View
4 src/OAuth2/Server.php
@@ -299,9 +299,9 @@ public function handleAuthorizeRequest(OAuth2_RequestInterface $request, $is_aut
/**
* 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
- * 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
- * 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
* object to change this
Please sign in to comment.
Something went wrong with that request. Please try again.