Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Passport/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function skipsAuthorization()
{
return false;
}

/**
* Determine if the client is a confidential client.
*
Expand Down
16 changes: 8 additions & 8 deletions src/Passport/PersonalAccessTokenFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

namespace DesignMyNight\Mongodb\Passport;

use Zend\Diactoros\Response;
use Zend\Diactoros\ServerRequest;
use Lcobucci\JWT\Parser as JwtParser;
use League\OAuth2\Server\AuthorizationServer;
use \Laravel\Passport\ClientRepository;
use Laminas\Diactoros\Response;
use Laminas\Diactoros\ServerRequest;
use Laravel\Passport\ClientRepository;
use Laravel\Passport\PersonalAccessTokenResult;
use Laravel\Passport\TokenRepository;
use Lcobucci\JWT\Parser as JwtParser;
use League\OAuth2\Server\AuthorizationServer;

class PersonalAccessTokenFactory
{
Expand Down Expand Up @@ -92,7 +92,7 @@ public function make($userId, $name, array $scopes = [])
* @param \Laravel\Passport\Client $client
* @param mixed $userId
* @param array $scopes
* @return \Zend\Diactoros\ServerRequest
* @return \Laminas\Diactoros\ServerRequest
*/
protected function createRequest($client, $userId, array $scopes)
{
Expand All @@ -108,7 +108,7 @@ protected function createRequest($client, $userId, array $scopes)
/**
* Dispatch the given request to the authorization server.
*
* @param \Zend\Diactoros\ServerRequest $request
* @param \Laminas\Diactoros\ServerRequest $request
* @return array
*/
protected function dispatchRequestToAuthorizationServer(ServerRequest $request)
Expand All @@ -122,7 +122,7 @@ protected function dispatchRequestToAuthorizationServer(ServerRequest $request)
* Get the access token instance for the parsed response.
*
* @param array $response
* @return Token
* @return \Laravel\Passport\Token
*/
protected function findAccessToken(array $response)
{
Expand Down