artdarek / oauth-4-laravel

OAuth Service Provider for Laravel 4
683 stars 215 forks source link

How to implement custom consumers? #88

Open ux-engineer opened 10 years ago

ux-engineer commented 10 years ago

What is the proper way to extend this package by creating custom consumers?

lgomezma commented 10 years ago

I would also like an example of this.

stewartadam commented 10 years ago

I've looked into this and my first impression is that right now, it is not easily possible. Services need to be registered with the ServiceFactory, which is not exposed in the main OAuth.php file (it's a private attribute that gets initialized automatically in the OAuth constructor).

InfiniteDevelopment commented 9 years ago

:( No love on this? I wanted to have mutiple instances of OAuth::consumer();