mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-07 21:18:39 +00:00
autoformat
This commit is contained in:
parent
abf0c43582
commit
340fdc4943
|
|
@ -31,7 +31,7 @@ class GeneralResourceOwner implements ResourceOwnerInterface
|
||||||
|
|
||||||
public function __construct(array $response, string $resourceOwnerId)
|
public function __construct(array $response, string $resourceOwnerId)
|
||||||
{
|
{
|
||||||
$this->response = $response;
|
$this->response = $response;
|
||||||
$this->resourceOwnerId = $resourceOwnerId;
|
$this->resourceOwnerId = $resourceOwnerId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,17 +15,17 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace phpOMS\Auth\OAuth2\Provider;
|
namespace phpOMS\Auth\OAuth2\Provider;
|
||||||
|
|
||||||
|
use phpOMS\Auth\OAuth2\Grant\GrantAbstract;
|
||||||
|
use phpOMS\Auth\OAuth2\Grant\GrantFactory;
|
||||||
|
use phpOMS\Auth\OAuth2\OptionProvider\OptionProviderInterface;
|
||||||
|
use phpOMS\Auth\OAuth2\OptionProvider\PostAuthOptionProvider;
|
||||||
|
use phpOMS\Auth\OAuth2\Token\AccessToken;
|
||||||
|
use phpOMS\Auth\OAuth2\Token\AccessTokenInterface;
|
||||||
|
use phpOMS\Message\Http\HttpRequest;
|
||||||
use phpOMS\Message\Http\HttpResponse;
|
use phpOMS\Message\Http\HttpResponse;
|
||||||
use phpOMS\Message\Http\RequestMethod;
|
use phpOMS\Message\Http\RequestMethod;
|
||||||
use phpOMS\Uri\UriFactory;
|
use phpOMS\Uri\UriFactory;
|
||||||
use phpOMS\Utils\ArrayUtils;
|
use phpOMS\Utils\ArrayUtils;
|
||||||
use phpOMS\Auth\OAuth2\Grant\GrantFactory;
|
|
||||||
use phpOMS\Auth\OAuth2\OptionProvider\OptionProviderInterface;
|
|
||||||
use phpOMS\Auth\OAuth2\Grant\GrantAbstract;
|
|
||||||
use phpOMS\Auth\OAuth2\Token\AccessToken;
|
|
||||||
use phpOMS\Auth\OAuth2\Token\AccessTokenInterface;
|
|
||||||
use phpOMS\Message\Http\HttpRequest;
|
|
||||||
use phpOMS\Auth\OAuth2\OptionProvider\PostAuthOptionProvider;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provider class.
|
* Provider class.
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ class AccessToken implements AccessTokenInterface, ResourceOwnerAccessTokenInter
|
||||||
return $this->expires < \time();
|
return $this->expires < \time();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getValues(): array
|
public function getValues() : array
|
||||||
{
|
{
|
||||||
return $this->vallues;
|
return $this->vallues;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user