Closed hafezdivandari closed 2 months ago
Thanks for submitting a PR!
Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.
Pull requests that are abandoned in draft may be closed due to inactivity.
This PR does:
Arrayable
,Jsonable
, andJsonSerializable
interfaces on theAccessToken
class and fix some minor issues.ResolvesInheritedScopes
trait by introducing a newscopeExists
method, used in both theAccessToken
andClient
classes.ClientRepository
class a singleton and leverages the new Laravel 11once
function, avoids duplicate queries to retrieve the same client. For example, when issuing a token using the auth code grant, this change reduces the number of queries executed by three: