Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes possible to inherit from Oauth2\Request and use own Request class instead of original #554

Merged
merged 1 commit into from
Mar 31, 2015
Merged

Conversation

hiqdev
Copy link

@hiqdev hiqdev commented Mar 31, 2015

Makes possible to use own featured Request like this:

MyRequest extends \OAuth2\Request {
    public function someCoolFeature ($arg) {
        return $it;
    }
};

$request = MyRequest::createFromGlobals();

$server->handleTokenRequest($request);

bshaffer added a commit that referenced this pull request Mar 31, 2015
Makes possible to inherit from Oauth2\Request and use own Request class instead of original
@bshaffer bshaffer merged commit dfa7c36 into bshaffer:develop Mar 31, 2015
@bshaffer
Copy link
Owner

I love it! Thank you.

@hiqdev
Copy link
Author

hiqdev commented Apr 1, 2015

Glad to hear it :)
Thank you for the library!

@hiqdev hiqdev deleted the inheritable_request branch April 1, 2015 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants