In Laravel passport, the AuthorizationController@authorize function gets the $psrRequest from the ServerRequestInterface.
Through a pre-authorization stage, there is no need for a separate authorization function. Is there a way to generate a Psr7 request through the ServerRequestInterface within a function. This will allow authorization without redirecting to another authorization URL which will return the Psr7 Request through the ServerRequestInterface.
Hopefully, that makes some sense, Cheers
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire