laravel-quickbooks-client
laravel-quickbooks-client copied to clipboard
Use a different model for tokens
For example, save auth against a Company
model rather than a user, allowing multiple users to access the same connection.
Will fork and PR.
I need it too...
@atymic Did you get anywhere on that PR?
I took your module as an example of functionality, I want to implement the connection of multiple users in turn with different accounts.
I ended up just taking the quickbooks token class and not using the package. I can PR if you'd like, but it would be a breaking release since it's very different to how it work rn.
I ended up just taking the quickbooks token class and not using the package. I can PR if you'd like, but it would be a breaking release since it's very different to how it work rn.
I also redesigned the token class and the client class. I take access to QuickBooks from the company tables.
Yep, that's how I did it.
Yep, that's how I did it.
When I'm done, I'll show you the code.
@ViktorIvanisenko Would love to see an example of how you did this. I think I need this approach too.
This sounds like a great potential new feature. Example code is welcome.