oauth-4-laravel icon indicating copy to clipboard operation
oauth-4-laravel copied to clipboard

How to implement custom consumers?

Open ux-engineer opened this issue 11 years ago • 3 comments

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

ux-engineer avatar Jul 25 '14 17:07 ux-engineer

I would also like an example of this.

lgomezma avatar Sep 18 '14 13:09 lgomezma

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).

stewartadam avatar Oct 06 '14 23:10 stewartadam

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

InfiniteDevelopment avatar Aug 13 '15 19:08 InfiniteDevelopment