Closed sandervanhooft closed 6 years ago
OAuth should be handled using league/oauth for which we created a provider.
Does that help @sandervanhooft ?
I think that's the best way indeed.
Perhaps document this in the readme?
Yes, that would be great. Could you open a PR?
Any suggestions for the official docs on this topic?
Closing here. Continue here.
Specifications
Describe the issue
(I came across this issue while updating the official Mollie docs.)
Examples for Oauth / Connect token management are missing.
Only
setAccessToken(...)
is currently mentioned (here).How to perform the initial and refresh requests is not described.
It seems to me that convenience methods are missing on the client class as well, so I'm not sure how to document this / what's the best approach here.
Perhaps the Laravel-Mollie implementation can serve as inspiration (link).